40 lines
2.2 KiB
Docker
40 lines
2.2 KiB
Docker
FROM bitnami/minideb-extras:stretch-r80
|
|
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.34-0 --checksum 56464e0931e05066036f43ef56a7c5c3d2a5ddad85eebd62748e3223e6289ace
|
|
RUN bitnami-pkg unpack php-7.1.19-3 --checksum f194bb974d4bdec0a359c6e8a4b1559c6dbc2b6864e1e2f88dd09f922e7b7658
|
|
RUN bitnami-pkg unpack mysql-client-10.2.16-0 --checksum b340647cdff0f520aa3070c55756f43b2fc908369a76c9565bcefeb35a5ea66a
|
|
RUN bitnami-pkg install libphp-7.1.19-0 --checksum ebb04b9a2a3e40296b3d403f4e7ef038fd505f312a419b942b7578b24b2ee6c6
|
|
RUN bitnami-pkg unpack drupal-8.5.5-0 --checksum 929537b0d306b68106cf13a767a0afe748be3c99a6a24b3b08753b29ec401a6f
|
|
|
|
COPY rootfs /
|
|
ENV ALLOW_EMPTY_PASSWORD="no" \
|
|
APACHE_HTTPS_PORT_NUMBER="443" \
|
|
APACHE_HTTP_PORT_NUMBER="80" \
|
|
BITNAMI_APP_NAME="drupal" \
|
|
BITNAMI_IMAGE_VERSION="8.5.5-debian-9-r8" \
|
|
DRUPAL_DATABASE_NAME="bitnami_drupal" \
|
|
DRUPAL_DATABASE_PASSWORD="" \
|
|
DRUPAL_DATABASE_USER="bn_drupal" \
|
|
DRUPAL_EMAIL="user@example.com" \
|
|
DRUPAL_HTTPS_PORT="443" \
|
|
DRUPAL_HTTP_PORT="80" \
|
|
DRUPAL_PASSWORD="bitnami" \
|
|
DRUPAL_USERNAME="user" \
|
|
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:/opt/bitnami/drupal/vendor/bin:$PATH"
|
|
|
|
EXPOSE 80 443
|
|
|
|
ENTRYPOINT ["/app-entrypoint.sh"]
|
|
CMD ["./run.sh"]
|