mirror of
https://github.com/bitnami/containers.git
synced 2026-02-20 06:37:24 +08:00
* This release includes new features:
* WordPress expects an existing database to be configured with.
* The following plugins have been added:
- akismet
- all-in-one-wp-migration
- all-in-one-seo-pack
- google-analytics-for-wordpress
- jetpack
- simple-tags
- wordpress-mu-domain-mapping
47 lines
2.1 KiB
Docker
47 lines
2.1 KiB
Docker
FROM gcr.io/stacksmith-images/minideb:jessie-r11
|
|
|
|
MAINTAINER Bitnami <containers@bitnami.com>
|
|
|
|
ENV BITNAMI_APP_NAME=wordpress \
|
|
BITNAMI_IMAGE_VERSION=4.7.2-r2 \
|
|
PATH=/opt/bitnami/php/bin:/opt/bitnami/mysql/bin/:$PATH
|
|
|
|
# System packages required
|
|
RUN install_packages libssl1.0.0 libaprutil1 libapr1 libc6 libuuid1 libexpat1 libpcre3 libldap-2.4-2 libsasl2-2 libgnutls-deb0-28 zlib1g libp11-kit0 libtasn1-6 libnettle4 libhogweed2 libgmp10 libffi6 libxslt1.1 libtidy-0.99-0 libreadline6 libncurses5 libtinfo5 libmcrypt4 libstdc++6 libpng12-0 libjpeg62-turbo libbz2-1.0 libxml2 libcurl3 libfreetype6 libicu52 libgcc1 libgcrypt20 liblzma5 libidn11 librtmp1 libssh2-1 libgssapi-krb5-2 libkrb5-3 libk5crypto3 libcomerr2 libgpg-error0 libkrb5support0 libkeyutils1 libsybdb5 libpq5
|
|
|
|
# Additional modules required
|
|
RUN bitnami-pkg unpack apache-2.4.25-0 --checksum 8b46af7d737772d7d301da8b30a2770b7e549674e33b8a5b07480f53c39f5c3f
|
|
RUN bitnami-pkg unpack php-5.6.30-3 --checksum af6c238825d4394fc6352c5ad48c1e6423e21520df927097dab592f0d4ad4662
|
|
RUN bitnami-pkg install libphp-5.6.30-1 --checksum a62cad2320fa2d141309e75663aed3d1bd82626d51b784678d18ec3f985d83bf
|
|
RUN bitnami-pkg unpack mysql-client-10.1.21-2 --checksum f5d875d00ff198eea981ffa6d02d3135659baf48cbfc418604f1b75fb5a31e63
|
|
|
|
# Install wordpress
|
|
RUN bitnami-pkg unpack wordpress-4.7.2-1 --checksum 330a4cb810c66256d4b276f2559225f4c77fcadb183c23cc834c4aefe1565dc1
|
|
|
|
COPY rootfs /
|
|
|
|
ENV APACHE_HTTP_PORT="80" \
|
|
APACHE_HTTPS_PORT="443" \
|
|
WORDPRESS_USERNAME="user" \
|
|
WORDPRESS_PASSWORD="bitnami" \
|
|
WORDPRESS_EMAIL="user@example.com" \
|
|
WORDPRESS_FIRST_NAME="FirstName" \
|
|
WORDPRESS_LAST_NAME="LastName" \
|
|
WORDPRESS_BLOG_NAME="User's Blog!" \
|
|
WORDPRESS_DATABASE_NAME="bitnami_wordpress" \
|
|
WORDPRESS_DATABASE_USER="bn_wordpress" \
|
|
WORDPRESS_DATABASE_PASSWORD="" \
|
|
MARIADB_HOST="mariadb" \
|
|
MARIADB_PORT="3306" \
|
|
MARIADB_ROOT_USER="root" \
|
|
MARIADB_ROOT_PASSWORD="" \
|
|
ALLOW_EMPTY_PASSWORD="no"
|
|
|
|
VOLUME ["/bitnami/wordpress", "/bitnami/apache", "/bitnami/php"]
|
|
|
|
EXPOSE 80 443
|
|
|
|
ENTRYPOINT ["/app-entrypoint.sh"]
|
|
|
|
CMD ["nami", "start", "--foreground", "apache"]
|