65 lines
3.1 KiB
Docker
65 lines
3.1 KiB
Docker
FROM bitnami/minideb:buster
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
ENV PATH="/opt/bitnami/php/bin:/opt/bitnami/php/sbin:/opt/bitnami/php/sbin:/opt/bitnami/wp-cli/bin:/opt/bitnami/nginx/sbin:/opt/bitnami/mysql/bin:/opt/bitnami/nami/bin:$PATH"
|
|
|
|
COPY prebuildfs /
|
|
# Install required system packages and dependencies
|
|
RUN install_packages ca-certificates curl dirmngr gnupg libbz2-1.0 libc6 libcom-err2 libcurl4 libffi6 libfreetype6 libgcc1 libgcrypt20 libgeoip1 libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed4 libicu63 libidn2-0 libjpeg62-turbo libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblzma5 libmemcached11 libmemcachedutil2 libncurses6 libnettle6 libnghttp2-14 libp11-kit0 libpcre3 libpng16-16 libpq5 libpsl5 libreadline7 librtmp1 libsasl2-2 libssh2-1 libssl1.1 libstdc++6 libsybdb5 libtasn1-6 libtidy5deb1 libtinfo6 libunistring2 libxml2 libxslt1.1 libzip4 procps sudo unzip zlib1g
|
|
RUN /build/bitnami-user.sh && \
|
|
/build/install-nami.sh
|
|
RUN bitnami-pkg unpack php-7.3.14-0 --checksum 58ea3eac602c9e840afb1cde192bda1018c62e3485c41962bc0266b079dd731f
|
|
RUN bitnami-pkg install wp-cli-2.4.0-0 --checksum 8095bdd2f96a137cb3f54836ad9deb90510b0927472e532f41e1708345432230
|
|
RUN bitnami-pkg unpack nginx-1.16.1-0 --checksum 546f22afa27cf4caf9eadb7a29bd052d90584f885225eb4d173762a70ac56b04
|
|
RUN bitnami-pkg unpack mysql-client-10.3.22-0 --checksum 9529ac5187264223e3852602f7d9a51ed0b2547bbed99f3d05f3b7fa20adf57f
|
|
RUN bitnami-pkg unpack wordpress-5.3.2-0 --checksum bfd7c0705c367e72edf533b1dbfb217627c5d073f7be2efce91d49062c4ffa6a
|
|
RUN apt-get update && apt-get upgrade && \
|
|
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
|
RUN /build/install-gosu.sh
|
|
RUN ln -sf /dev/stdout /opt/bitnami/nginx/logs/access.log
|
|
RUN ln -sf /dev/stderr /opt/bitnami/nginx/logs/error.log
|
|
RUN /build/install-tini.sh
|
|
|
|
COPY rootfs /
|
|
ENV ALLOW_EMPTY_PASSWORD="no" \
|
|
BITNAMI_APP_NAME="wordpress-nginx" \
|
|
BITNAMI_IMAGE_VERSION="5.3.2-debian-10-r15" \
|
|
MARIADB_HOST="mariadb" \
|
|
MARIADB_PORT_NUMBER="3306" \
|
|
MARIADB_ROOT_PASSWORD="" \
|
|
MARIADB_ROOT_USER="root" \
|
|
MYSQL_CLIENT_CREATE_DATABASE_NAME="" \
|
|
MYSQL_CLIENT_CREATE_DATABASE_PASSWORD="" \
|
|
MYSQL_CLIENT_CREATE_DATABASE_PRIVILEGES="ALL" \
|
|
MYSQL_CLIENT_CREATE_DATABASE_USER="" \
|
|
NGINX_ENABLE_CUSTOM_PORTS="no" \
|
|
NGINX_HTTPS_PORT_NUMBER="" \
|
|
NGINX_HTTP_PORT_NUMBER="" \
|
|
SMTP_HOST="" \
|
|
SMTP_PASSWORD="" \
|
|
SMTP_PORT="" \
|
|
SMTP_PROTOCOL="" \
|
|
SMTP_USER="" \
|
|
SMTP_USERNAME="" \
|
|
WORDPRESS_BLOG_NAME="User's Blog!" \
|
|
WORDPRESS_DATABASE_NAME="bitnami_wordpress" \
|
|
WORDPRESS_DATABASE_PASSWORD="" \
|
|
WORDPRESS_DATABASE_SSL_CA_FILE="" \
|
|
WORDPRESS_DATABASE_USER="bn_wordpress" \
|
|
WORDPRESS_EMAIL="user@example.com" \
|
|
WORDPRESS_FIRST_NAME="FirstName" \
|
|
WORDPRESS_HTACCESS_OVERRIDE_NONE="yes" \
|
|
WORDPRESS_HTTPS_PORT="443" \
|
|
WORDPRESS_HTTP_PORT="80" \
|
|
WORDPRESS_LAST_NAME="LastName" \
|
|
WORDPRESS_PASSWORD="bitnami" \
|
|
WORDPRESS_SCHEME="http" \
|
|
WORDPRESS_SKIP_INSTALL="no" \
|
|
WORDPRESS_TABLE_PREFIX="wp_" \
|
|
WORDPRESS_USERNAME="user"
|
|
|
|
EXPOSE 80 443
|
|
|
|
ENTRYPOINT [ "/app-entrypoint.sh" ]
|
|
CMD [ "/run.sh" ]
|