51 lines
2.6 KiB
Docker
51 lines
2.6 KiB
Docker
FROM bitnami/minideb-extras:stretch-r153
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
# Install required system packages and dependencies
|
|
RUN install_packages libbz2-1.0 libc6 libcomerr2 libcurl3 libexpat1 libffi6 libfreetype6 libgcc1 libgcrypt20 libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed4 libicu57 libidn11 libidn2-0 libjpeg62-turbo libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblzma5 libmcrypt4 libncurses5 libnettle6 libnghttp2-14 libp11-kit0 libpcre3 libpng16-16 libpq5 libpsl5 libreadline7 librtmp1 libsasl2-2 libsqlite3-0 libssh2-1 libssl1.0.2 libssl1.1 libstdc++6 libsybdb5 libtasn1-6 libtidy5 libtinfo5 libunistring0 libxml2 libxslt1.1 zlib1g
|
|
RUN bitnami-pkg unpack apache-2.4.35-0 --checksum 1e352e2185137fcad60bb6fdf2961368f59a35e2c2cab4ee94c77152f1c37299
|
|
RUN bitnami-pkg unpack php-7.0.32-1 --checksum ba35c87fa72b1333c036491734e039bac53f5726c1e2458ce8126473240c3cc8
|
|
RUN bitnami-pkg unpack mysql-client-10.2.18-0 --checksum 2ae3b6c2dc5f69815a2387776624bcc46cff197ac7cb78f8009e535f3662971a
|
|
RUN bitnami-pkg install libphp-7.0.32-2 --checksum 03bb40ebb66af0ce2b1dc5cd9aeded75811e695e184e67b74f45b405a86af2a2
|
|
RUN bitnami-pkg unpack wordpress-4.9.8-2 --checksum ac88929d5af4eb9c702f1656a718b463de3253065327068908a952e08332d9f9
|
|
|
|
COPY rootfs /
|
|
ENV ALLOW_EMPTY_PASSWORD="no" \
|
|
APACHE_HTTPS_PORT_NUMBER="443" \
|
|
APACHE_HTTP_PORT_NUMBER="80" \
|
|
BITNAMI_APP_NAME="wordpress" \
|
|
BITNAMI_IMAGE_VERSION="4.9.8-debian-9-r37" \
|
|
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="" \
|
|
PATH="/opt/bitnami/apache/bin:/opt/bitnami/php/bin:/opt/bitnami/php/sbin:/opt/bitnami/mysql/bin:$PATH" \
|
|
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_USER="bn_wordpress" \
|
|
WORDPRESS_EMAIL="user@example.com" \
|
|
WORDPRESS_FIRST_NAME="FirstName" \
|
|
WORDPRESS_HOST="" \
|
|
WORDPRESS_HTTPS_PORT="443" \
|
|
WORDPRESS_HTTP_PORT="80" \
|
|
WORDPRESS_LAST_NAME="LastName" \
|
|
WORDPRESS_PASSWORD="bitnami" \
|
|
WORDPRESS_TABLE_PREFIX="wp_" \
|
|
WORDPRESS_USERNAME="user"
|
|
|
|
EXPOSE 80 443
|
|
|
|
ENTRYPOINT [ "/app-entrypoint.sh" ]
|
|
CMD [ "nami", "start", "--foreground", "apache" ]
|