mirror of
https://github.com/bitnami/containers.git
synced 2026-03-01 06:57:49 +08:00
21 lines
811 B
Docker
21 lines
811 B
Docker
FROM bitnami/minideb-extras:jessie-r37
|
|
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.33-0 --checksum 8b7e149b571298efb73d476ba0a87df0d0f8aa17fa3adf0590ffc0d37bf5d6cf
|
|
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-r11" \
|
|
PATH="/opt/bitnami/apache/bin:$PATH"
|
|
|
|
EXPOSE 80 443
|
|
|
|
WORKDIR /app
|
|
ENTRYPOINT ["/app-entrypoint.sh"]
|
|
CMD ["nami","start","--foreground","apache"]
|