mirror of
https://github.com/bitnami/containers.git
synced 2026-03-09 15:40:15 +08:00
21 lines
778 B
Docker
21 lines
778 B
Docker
FROM bitnami/oraclelinux-extras:7-r21
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
# Install required system packages and dependencies
|
|
RUN install_packages cyrus-sasl-lib expat glibc keyutils-libs krb5-libs libcom_err libselinux nspr nss nss-softokn-freebl nss-util openldap openssl-libs pcre zlib
|
|
RUN bitnami-pkg unpack apache-2.4.33-4 --checksum 4e8daac4fc3f70870a856be2dbabe35c060bae4319da105a1cd38ea2335cc5a1
|
|
RUN ln -sf /opt/bitnami/apache/htdocs /app
|
|
|
|
COPY rootfs /
|
|
ENV APACHE_HTTPS_PORT_NUMBER="443" \
|
|
APACHE_HTTP_PORT_NUMBER="80" \
|
|
BITNAMI_APP_NAME="apache" \
|
|
BITNAMI_IMAGE_VERSION="2.4.33-ol-7-r12" \
|
|
PATH="/opt/bitnami/apache/bin:$PATH"
|
|
|
|
EXPOSE 80 443
|
|
|
|
WORKDIR /app
|
|
ENTRYPOINT ["/app-entrypoint.sh"]
|
|
CMD ["nami","start","--foreground","apache"]
|