mirror of
https://github.com/bitnami/containers.git
synced 2026-03-13 14:58:03 +08:00
29 lines
1.2 KiB
Docker
29 lines
1.2 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 libprotobuf-dev libssl1.1 libyaml-0-2 perl procps tar zlib1g zlib1g-dev
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-7" --checksum d6280b6f647a62bf6edc74dc8e526bfff63ddd8067dcb8540843f47203d9ccf1
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "kong" "2.8.1-7" --checksum 362eb4b75162228130f35eccace0b0473f13657c63af993e6c9932b30911b144
|
|
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/kong/postunpack.sh
|
|
ENV APP_VERSION="2.8.1" \
|
|
BITNAMI_APP_NAME="kong" \
|
|
PATH="/opt/bitnami/common/bin:/opt/bitnami/kong/bin:/opt/bitnami/kong/openresty/bin:/opt/bitnami/kong/openresty/luajit/bin:/opt/bitnami/kong/openresty/nginx/sbin:$PATH"
|
|
|
|
EXPOSE 8000 8001 8443 8444
|
|
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/kong/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/scripts/kong/run.sh" ]
|