mirror of
https://github.com/bitnami/containers.git
synced 2026-03-21 07:18:22 +08:00
27 lines
1.1 KiB
Docker
27 lines
1.1 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 libgcc1 libpcre3 libssl1.1 libyaml-0-2 perl procps tar zlib1g zlib1g-dev
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "kong" "2.5.1-1" --checksum 3714d6dc0dd8dd8b52b3227e010ee87a197e2721606564bfadc74a987bf34a82
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-0" --checksum 3e6fc37ca073b10a73a804d39c2f0c028947a1a596382a4f8ebe43dfbaa3a25e
|
|
RUN chmod g+rwX /opt/bitnami
|
|
|
|
COPY rootfs /
|
|
RUN /opt/bitnami/scripts/kong/postunpack.sh
|
|
ENV BITNAMI_APP_NAME="kong" \
|
|
BITNAMI_IMAGE_VERSION="2.5.1-debian-10-r18" \
|
|
PATH="/opt/bitnami/kong/bin:/opt/bitnami/kong/openresty/bin:/opt/bitnami/kong/openresty/luajit/bin:/opt/bitnami/kong/openresty/nginx/sbin:/opt/bitnami/common/bin:$PATH"
|
|
|
|
EXPOSE 8000 8001 8443 8444
|
|
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/kong/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/scripts/kong/run.sh" ]
|