mirror of
https://github.com/bitnami/containers.git
synced 2026-03-05 16:17:21 +08:00
30 lines
1.7 KiB
Docker
30 lines
1.7 KiB
Docker
FROM bitnami/oraclelinux-extras:7-r181
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
# Install required system packages and dependencies
|
|
RUN install_packages bzip2-libs cyrus-sasl-lib expat freetds freetype glibc gmp gnutls keyutils-libs krb5-libs libcom_err libcurl libffi libgcc libgcrypt libgpg-error libicu libidn libjpeg-turbo libmcrypt libmemcached libpng libselinux libssh2 libstdc++ libtasn1 libtidy libxml2 libxslt ncurses-libs nettle nspr nss nss-softokn-freebl nss-util openldap openssl-libs p11-kit pcre postgresql-libs readline sqlite xz-libs zlib
|
|
RUN bitnami-pkg unpack apache-2.4.37-1 --checksum 3220aa5e11f8a9914ddc3319235119b28da16c9a15ea33509feb40800d72d55b
|
|
RUN bitnami-pkg unpack php-7.1.24-2 --checksum d866d69b98bbdd90b92726a8c7004b673d1afd8c2fb08ef935997bf0895ccbc1
|
|
RUN bitnami-pkg unpack libphp-7.1.24-1 --checksum 5902edafff09837a7cf975cea78dfdf2bcd98d7642e41e8ef3878ca58cb9ccb8
|
|
RUN bitnami-pkg unpack phpmyadmin-4.8.3-1 --checksum 4172459ed44cca5aea67c0a4b89ce8c28c6183e8d5959217177327034af3ea6b
|
|
RUN mkdir -p /opt/bitnami/apache/tmp && chmod g+rwX /opt/bitnami/apache/tmp
|
|
RUN ln -sf /dev/stdout /opt/bitnami/apache/logs/access_log
|
|
RUN ln -sf /dev/stderr /opt/bitnami/apache/logs/error_log
|
|
|
|
COPY rootfs /
|
|
ENV APACHE_HTTPS_PORT_NUMBER="443" \
|
|
APACHE_HTTP_PORT_NUMBER="80" \
|
|
BITNAMI_APP_NAME="phpmyadmin" \
|
|
BITNAMI_IMAGE_VERSION="4.8.3-ol-7-r75" \
|
|
DATABASE_HOST="mariadb" \
|
|
DATABASE_PORT_NUMBER="3306" \
|
|
PATH="/opt/bitnami/apache/bin:/opt/bitnami/php/bin:/opt/bitnami/php/sbin:$PATH" \
|
|
PHPMYADMIN_ALLOW_ARBITRARY_SERVER="" \
|
|
PHPMYADMIN_ALLOW_NO_PASSWORD="true" \
|
|
REQUIRE_LOCAL="0"
|
|
|
|
EXPOSE 80 443
|
|
|
|
ENTRYPOINT [ "/app-entrypoint.sh" ]
|
|
CMD [ "httpd", "-f", "/bitnami/apache/conf/httpd.conf", "-DFOREGROUND" ]
|