38 lines
1.7 KiB
Docker
38 lines
1.7 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 libgeoip1 libpcre3 libssl1.1 procps tar zlib1g
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "qatengine" "0.6.11-6" --checksum eaadd4303f1b51690bf5bc391a27403d79c9f12f00e3a6fba7088bf9d4fcc326
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "render-template" "1.0.1-10" --checksum 97c2ae4b001c5937e888b920bee7b1a40a076680caac53ded6d10f6207d54565
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "nginx-intel" "0.4.7-9" --checksum 6c7c70448a53cc68065376fb051055df94b1e1ae2bea84212f366007b98f1e02
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-7" --checksum d6280b6f647a62bf6edc74dc8e526bfff63ddd8067dcb8540843f47203d9ccf1
|
|
RUN apt-get update && apt-get upgrade -y && \
|
|
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
|
RUN chmod g+rwX /opt/bitnami
|
|
RUN ln -sf /dev/stdout /opt/bitnami/nginx/logs/access.log
|
|
RUN ln -sf /dev/stderr /opt/bitnami/nginx/logs/error.log
|
|
|
|
COPY rootfs /
|
|
RUN /opt/bitnami/scripts/nginx/postunpack.sh
|
|
RUN /opt/bitnami/scripts/qatengine/postunpack.sh
|
|
ENV APP_VERSION="0.4.7" \
|
|
BITNAMI_APP_NAME="nginx-intel" \
|
|
BITNAMI_IMAGE_VERSION="0.4.7-debian-10-r55" \
|
|
NGINX_HTTPS_PORT_NUMBER="" \
|
|
NGINX_HTTP_PORT_NUMBER="" \
|
|
PATH="/opt/bitnami/common/bin:/opt/bitnami/nginx/sbin:$PATH"
|
|
|
|
EXPOSE 8080 8443
|
|
|
|
WORKDIR /app
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/nginx/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/scripts/nginx/run.sh" ]
|