mirror of
https://github.com/bitnami/containers.git
synced 2026-03-08 18:57:19 +08:00
34 lines
1.6 KiB
Docker
34 lines
1.6 KiB
Docker
FROM 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 ca-certificates curl libc6 libexpat1 libffi6 libgmp10 libgnutls30 libhogweed4 libidn2-0 libldap-2.4-2 libnettle6 libnghttp2-14 libp11-kit0 libpcre3 libsasl2-2 libssl1.1 libtasn1-6 libunistring2 procps sudo unzip zlib1g
|
|
RUN . ./libcomponent.sh && component_unpack "apache" "2.4.41-0" --checksum 0364e80e08a89fda2d2d302609f813d5d497b6cb6bcf6643d2770b825abbc0fb
|
|
RUN apt-get update && apt-get upgrade && \
|
|
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
|
RUN /build/install-gosu.sh
|
|
RUN curl --silent -L https://github.com/bitnami/render-template/releases/download/v1.0/render-template.zip > /tmp/render-template.zip && echo "60334a29f9692659f9d3a5d9659f2a97de1f5e7a0fc2e84c1868fdba7f160a9d /tmp/render-template.zip" | sha256sum --check && unzip -q -d /usr/local/bin -o /tmp/render-template.zip render-template && mkdir -p /opt/bitnami/licenses && curl --silent -L https://raw.githubusercontent.com/bitnami/render-template/master/COPYING > /opt/bitnami/licenses/render-template-1.0.txt
|
|
|
|
COPY rootfs /
|
|
RUN /postunpack.sh
|
|
ENV APACHE_HTTPS_PORT_NUMBER="" \
|
|
APACHE_HTTP_PORT_NUMBER="" \
|
|
APACHE_SET_HTTPS_PORT="no" \
|
|
APACHE_SET_HTTP_PORT="no" \
|
|
BITNAMI_APP_NAME="apache" \
|
|
BITNAMI_IMAGE_VERSION="2.4.41-debian-10-r17" \
|
|
PATH="/opt/bitnami/apache/bin:$PATH"
|
|
|
|
EXPOSE 8080 8443
|
|
|
|
WORKDIR /app
|
|
USER 1001
|
|
ENTRYPOINT [ "/entrypoint.sh" ]
|
|
CMD [ "/run.sh" ]
|