From 26cf4c78f108706157b951095e93afccdb347a5f Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Mon, 16 Sep 2024 10:45:36 +0200 Subject: [PATCH] Dockerfile aktualisiert --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6c97422..dfc0b44 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,6 +27,8 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"] # Install required system packages and dependencies RUN install_packages acl ca-certificates curl ldap-utils libbrotli1 libbsd0 libbz2-1.0 libcom-err2 libcrypt1 libcurl4 libexpat1 libffi8 libfftw3-double3 libfontconfig1 libfreetype6 libgcc-s1 libgcrypt20 libglib2.0-0 libgmp10 libgnutls30 libgomp1 libgpg-error0 libgssapi-krb5-2 libhashkit2 libhogweed6 libicu72 libidn2-0 libjpeg62-turbo libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblcms2-2 libldap-2.5-0 libldap-common liblqr-1-0 libltdl7 liblzma5 libmagickcore-6.q16-6 libmagickwand-6.q16-6 libmd0 libmemcached11 libnettle8 libnghttp2-14 libonig5 libp11-kit0 libpam-ldapd libpam0g libpcre2-8-0 libpcre3 libpng16-16 libpq5 libpsl5 libreadline8 librtmp1 libsasl2-2 libsodium23 libsqlite3-0 libssh2-1 libssl3 libstdc++6 libsybdb5 libtasn1-6 libtidy5deb1 libtinfo6 libunistring2 libuuid1 libwebp7 libx11-6 libxau6 libxcb1 libxdmcp6 libxext6 libxml2 libxslt1.1 libzip4 libzstd1 nslcd openssl procps zlib1g RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ + 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' ; \ COMPONENTS=( \ "render-template-1.0.7-2-linux-${OS_ARCH}-debian-12" \ "php-8.2.21-2-linux-${OS_ARCH}-debian-12" \ @@ -42,9 +44,7 @@ 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 \ - 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' ; + done 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