Dockerfile aktualisiert
Some checks failed
Create postgresql docker image / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
Marko Oldenburg 2024-12-17 07:29:27 +00:00
parent 2f97b45bd8
commit 1880adfbdc

View File

@ -7,15 +7,15 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2024-09-22T08:10:30Z" \
org.opencontainers.image.created="2024-12-17T08:30:12Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/dokuwiki/README.md" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="20240206.2.0-debian-12-r12" \
org.opencontainers.image.ref.name="20241217.1.0-debian-12-r12" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/dokuwiki" \
org.opencontainers.image.title="dokuwiki" \
org.opencontainers.image.vendor="Broadcom, Inc." \
org.opencontainers.image.version="20240206.2.0"
org.opencontainers.image.version="20241217.1.0"
ENV HOME="/" \
OS_ARCH="${TARGETARCH:-amd64}" \
@ -34,16 +34,16 @@ RUN cd /tmp/build-dokuwiki_source/ ; \
mkdir -p dokuwiki/files/dokuwiki ; \
curl -SsLf "https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz" -O ; \
tar -zxf "dokuwiki-stable.tgz" -C dokuwiki/files/dokuwiki --strip-components=1 --no-same-owner ; \
tar -czf "/tmp/bitnami/pkg/cache/dokuwiki-20240206.2.0-linux-amd64-debian-12.tar.gz" dokuwiki ; \
tar -czf "/tmp/bitnami/pkg/cache/dokuwiki-20241217.1.0-linux-amd64-debian-12.tar.gz" dokuwiki ; \
cd /tmp/ ; \
rm -rf build-dokuwiki_source
RUN cd /tmp/bitnami/pkg/cache/ ; \
COMPONENTS=( \
"render-template-1.0.7-6-linux-${OS_ARCH}-debian-12" \
"php-8.3.13-1-linux-${OS_ARCH}-debian-12" \
"render-template-1.0.7-8-linux-${OS_ARCH}-debian-12" \
"php-8.3.14-4-linux-${OS_ARCH}-debian-12" \
"apache-2.4.62-4-linux-${OS_ARCH}-debian-12" \
"libphp-8.3.13-1-linux-${OS_ARCH}-debian-12" \
"libphp-8.3.14-0-linux-${OS_ARCH}-debian-12" \
) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
@ -54,7 +54,7 @@ RUN cd /tmp/bitnami/pkg/cache/ ; \
tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' ; \
rm -rf "${COMPONENT}".tar.gz{,.sha256} ; \
done ; \
tar -zxf "dokuwiki-20240206.2.0-linux-amd64-debian-12.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files'
tar -zxf "dokuwiki-20241217.1.0-linux-amd64-debian-12.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files'
RUN apt-get update && apt-get upgrade -y && \
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
RUN chmod g+rwX /opt/bitnami
@ -67,7 +67,7 @@ RUN /opt/bitnami/scripts/apache-modphp/postunpack.sh
RUN /opt/bitnami/scripts/dokuwiki/postunpack.sh
ENV APACHE_HTTPS_PORT_NUMBER="" \
APACHE_HTTP_PORT_NUMBER="" \
APP_VERSION="20240206.2.0" \
APP_VERSION="20241217.1.0" \
BITNAMI_APP_NAME="dokuwiki" \
PATH="/opt/bitnami/common/bin:/opt/bitnami/php/bin:/opt/bitnami/php/sbin:/opt/bitnami/apache/bin:$PATH"