41 lines
3.0 KiB
Docker
41 lines
3.0 KiB
Docker
FROM docker.io/bitnami/minideb:buster
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
ENV HOME="/" \
|
|
OS_ARCH="amd64" \
|
|
OS_FLAVOUR="debian-10" \
|
|
OS_NAME="linux"
|
|
|
|
COPY prebuildfs /
|
|
# Install required system packages and dependencies
|
|
RUN install_packages acl ca-certificates curl gzip less libaudit1 libbsd0 libbz2-1.0 libc6 libcap-ng0 libcom-err2 libcurl4 libexpat1 libffi6 libfftw3-double3 libfontconfig1 libfreetype6 libgcc1 libgcrypt20 libgeoip1 libglib2.0-0 libgmp10 libgnutls30 libgomp1 libgpg-error0 libgssapi-krb5-2 libhogweed4 libicu63 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 libmemcached11 libmemcachedutil2 libncurses6 libnettle6 libnghttp2-14 libonig5 libp11-kit0 libpam0g libpcre3 libpng16-16 libpq5 libpsl5 libreadline7 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-0" --checksum af5ec81cfb8e8420fe6af80a77d40da25e0f7e136abb6dde27267c97fb27cf8b
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "php" "8.0.19-0" --checksum 90d08cd7f0317fbb8c84dbdc20f2801c1a803683cc75e771ac0e40fd4162e367
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wp-cli" "2.6.0-4" --checksum fa48eb0bf1c92c18e4e82ab6cbde981bbf5d63116e0fb9b665bce6d84d9a52f2
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "nginx" "1.21.6-7" --checksum 0998ed0dfcd1655f309642eada2681f3e604d7849899e0146ca6846d1a86dbd6
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "mysql-client" "10.6.8-0" --checksum a288a3866c8d3b06951b6781c79a6e3551e99c159aafa1d3dfcaa3e54db93ea7
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wordpress" "5.9.3-14" --checksum d026e9bedf0b43b76f49b52e8d1627adf83fd4720abc1b32e33a795624e3c1d7
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-7" --checksum d6280b6f647a62bf6edc74dc8e526bfff63ddd8067dcb8540843f47203d9ccf1
|
|
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/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="5.9.3" \
|
|
BITNAMI_APP_NAME="wordpress-nginx" \
|
|
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" ]
|