diff --git a/Dockerfile b/Dockerfile index 983b4cc..9b0fad4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,7 @@ COPY dokuwiki_source /tmp/build-dokuwiki_source/ 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 --no-same-owner ; \ + 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 ; \ cd /tmp/ ; \ rm -rf build-dokuwiki_source @@ -55,7 +55,6 @@ RUN cd /tmp/bitnami/pkg/cache/ ; \ 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' ; \ - ls -la /opt/bitnami/dokuwiki/ 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