42 lines
3.3 KiB
Docker
42 lines
3.3 KiB
Docker
FROM docker.io/bitnami/minideb:bullseye
|
|
ENV HOME="/" \
|
|
OS_ARCH="amd64" \
|
|
OS_FLAVOUR="debian-11" \
|
|
OS_NAME="linux"
|
|
|
|
COPY prebuildfs /
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
# Install required system packages and dependencies
|
|
RUN install_packages acl ca-certificates curl gzip less libaudit1 libbrotli1 libbsd0 libbz2-1.0 libc6 libcap-ng0 libcom-err2 libcrypt1 libcurl4 libexpat1 libffi7 libfftw3-double3 libfontconfig1 libfreetype6 libgcc-s1 libgcrypt20 libgeoip1 libglib2.0-0 libgmp10 libgnutls30 libgomp1 libgpg-error0 libgssapi-krb5-2 libhogweed6 libicu67 libidn2-0 libjpeg62-turbo libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblcms2-2 libldap-2.4-2 liblqr-1-0 libltdl7 liblzma5 libmagickcore-6.q16-6 libmagickwand-6.q16-6 libmd0 libmemcached11 libncurses6 libnettle8 libnghttp2-14 libonig5 libp11-kit0 libpam0g libpcre3 libpng16-16 libpq5 libpsl5 libreadline8 librtmp1 libsasl2-2 libsodium23 libsqlite3-0 libssh2-1 libssl1.1 libstdc++6 libsybdb5 libtasn1-6 libtidy5deb1 libtinfo6 libunistring2 libuuid1 libwebp6 libx11-6 libxau6 libxcb1 libxdmcp6 libxext6 libxml2 libxslt1.1 libzip4 procps tar zlib1g
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "render-template" "1.0.3-151" --checksum 9690a34674f152e55c71a55275265314ed1bb29e0be8a75d7880488509f70deb
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "qatengine" "0.6.14-0" --checksum 1d3dbcc9f98ad8373674cb3d725682061a04e321626ad750a9f73f4b1004d502
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "php" "8.0.22-0" --checksum 9354070c3c63952b5b2d9ae2dc548a3ca5438f1ddf1126b5c1788a0407ba0527
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wp-cli" "2.6.0-152" --checksum b060c5db55e7e89a50b338c48d2325981b2f0d5edff82c59731d4ba16342bf85
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "nginx-intel" "0.4.7-152" --checksum bd474b514cce1e457d794634f5dd9411da3c5dda12b486ef5ab139452e07bea6
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "mysql-client" "10.6.8-151" --checksum c85e4be9bcee70c86c7bc7e13742e2d97810ad8f7d6154f8b66811b6cc4d0948
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wordpress" "6.0.1-3" --checksum ec7cf2984c8f52a073060ef07c354377ce981b75b0c63532ce3f2e2d813764dd
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-152" --checksum 0c751c7e2ec0bc900a19dbec0306d6294fe744ddfb0fa64197ba1a36040092f0
|
|
RUN apt-get update && apt-get upgrade -y && \
|
|
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
|
RUN chmod g+rwX /opt/bitnami
|
|
|
|
COPY rootfs /
|
|
RUN /opt/bitnami/scripts/mysql-client/postunpack.sh
|
|
RUN /opt/bitnami/scripts/qatengine/postunpack.sh
|
|
RUN /opt/bitnami/scripts/nginx/postunpack.sh
|
|
RUN /opt/bitnami/scripts/php/postunpack.sh
|
|
RUN /opt/bitnami/scripts/nginx-php-fpm/postunpack.sh
|
|
RUN /opt/bitnami/scripts/wordpress/postunpack.sh
|
|
RUN /opt/bitnami/scripts/wp-cli/postunpack.sh
|
|
ENV APP_VERSION="6.0.1" \
|
|
BITNAMI_APP_NAME="wordpress-intel" \
|
|
NGINX_HTTPS_PORT_NUMBER="" \
|
|
NGINX_HTTP_PORT_NUMBER="" \
|
|
PATH="/opt/bitnami/common/bin:/opt/bitnami/php/bin:/opt/bitnami/php/sbin:/opt/bitnami/wp-cli/bin:/opt/bitnami/nginx/sbin:/opt/bitnami/mysql/bin:$PATH"
|
|
|
|
EXPOSE 8080 8443
|
|
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/wordpress/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/scripts/nginx-php-fpm/run.sh" ]
|