27 lines
1.5 KiB
Docker
27 lines
1.5 KiB
Docker
FROM bitnami/oraclelinux-extras:7-r87
|
|
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 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.34-1 --checksum d06af72741b365147c39bb30ca9e1df1501d97c3c6a44b200e64c3c4eb7878f6
|
|
RUN bitnami-pkg unpack php-7.0.31-1 --checksum f58969a4b2e7a6607e17bd6446c4a8e7af780d6275955c274495ac222ac81771
|
|
RUN bitnami-pkg install libphp-7.0.31-0 --checksum 760bd9fad0870ff05810f287701879a858ee8952a146864aa06b18f8143ac3c5
|
|
RUN bitnami-pkg unpack phpmyadmin-4.8.3-0 --checksum c8ea7d8d5dd8bd2f9d146aef3957b1604f58a3b693629aa28d38aed1b9b5edeb
|
|
|
|
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-r6" \
|
|
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 [ "nami", "start", "--foreground", "apache" ]
|