Dockerfile aktualisiert

This commit is contained in:
Marko Oldenburg 2024-09-16 10:34:48 +02:00
parent 343ef5c699
commit 10ce4d9827

View File

@ -32,7 +32,7 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
"php-8.2.21-2-linux-${OS_ARCH}-debian-12" \
"apache-2.4.62-0-linux-${OS_ARCH}-debian-12" \
"libphp-8.2.21-2-linux-${OS_ARCH}-debian-12" \
"dokuwiki-20240206.1.0-10-linux-${OS_ARCH}-debian-12" \
#"dokuwiki-20240206.1.0-10-linux-${OS_ARCH}-debian-12" \
) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
@ -42,7 +42,9 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
sha256sum -c "${COMPONENT}.tar.gz.sha256" ; \
tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' ; \
rm -rf "${COMPONENT}".tar.gz{,.sha256} ; \
done
done \
curl -SsLf "https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz" -O ;
tar -zxf "dokuwiki-stable.tgz" -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