mirror of
https://github.com/bitnami/containers.git
synced 2026-03-07 01:07:20 +08:00
34 lines
1.6 KiB
Docker
34 lines
1.6 KiB
Docker
FROM docker.io/bitnami/minideb:buster
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
ENV HOME="/" \
|
|
OS_ARCH="amd64" \
|
|
OS_FLAVOUR="debian-10" \
|
|
OS_NAME="linux"
|
|
|
|
COPY prebuildfs /
|
|
# Install required system packages and dependencies
|
|
RUN install_packages acl ca-certificates curl gzip libc6 libexpat1 libffi6 libgcc1 libgmp10 libgnutls30 libhogweed4 libicu63 libidn2-0 libldap-2.4-2 liblzma5 libnettle6 libnghttp2-14 libp11-kit0 libpcre3 libsasl2-2 libssl1.1 libstdc++6 libtasn1-6 libunistring2 libxml2 procps tar zlib1g
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "render-template" "1.0.0-1" --checksum a94f94357aa06f3718db1550fa5f5188cd61383d66bf754eef49c58a18bf02cc
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.12.0-1" --checksum 51cfb1b7fd7b05b8abd1df0278c698103a9b1a4964bdacd87ca1d5c01631d59c
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "apache" "2.4.46-0" --checksum 93181ed22488a04139fe2ab6d9ca1a81b142392e8c86675b1653a1f28c068fa9
|
|
RUN apt-get update && apt-get upgrade -y && \
|
|
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
|
RUN chmod g+rwX /opt/bitnami
|
|
|
|
COPY rootfs /
|
|
RUN /opt/bitnami/scripts/apache/postunpack.sh
|
|
ENV APACHE_ENABLE_CUSTOM_PORTS="no" \
|
|
APACHE_HTTPS_PORT_NUMBER="" \
|
|
APACHE_HTTP_PORT_NUMBER="" \
|
|
BITNAMI_APP_NAME="apache" \
|
|
BITNAMI_IMAGE_VERSION="2.4.46-debian-10-r42" \
|
|
PATH="/opt/bitnami/common/bin:/opt/bitnami/apache/bin:$PATH"
|
|
|
|
EXPOSE 8080 8443
|
|
|
|
WORKDIR /app
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/apache/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/scripts/apache/run.sh" ]
|