mirror of
https://github.com/bitnami/containers.git
synced 2026-03-03 06:58:07 +08:00
28 lines
843 B
Docker
28 lines
843 B
Docker
FROM bitnami/minideb-extras:jessie-r17
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
|
|
|
|
# Install required system packages and dependencies
|
|
RUN install_packages libapr1 libaprutil1 libc6 libexpat1 libffi6 libgmp10 libgnutls-deb0-28 libhogweed2 libldap-2.4-2 libnettle4 libp11-kit0 libpcre3 libsasl2-2 libssl1.0.0 libtasn1-6 libuuid1 zlib1g
|
|
RUN bitnami-pkg unpack apache-2.4.26-0 --checksum 2d01547a273e715388bae110707a41f458b5092193d31e6b726b5527a56a1eac
|
|
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.26-r0" \
|
|
PATH="/opt/bitnami/apache/bin:$PATH"
|
|
|
|
|
|
|
|
VOLUME ["/bitnami/apache"]
|
|
|
|
EXPOSE 80 443
|
|
|
|
WORKDIR /app
|
|
ENTRYPOINT ["/app-entrypoint.sh"]
|
|
CMD ["nami","start","--foreground","apache"]
|