31 lines
1.8 KiB
Docker
31 lines
1.8 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 ca-certificates curl gzip libc6 procps tar wget
|
|
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/wait-for-port-1.0.3-0-linux-amd64-debian-10.tar.gz && \
|
|
echo "0603c8eaf6d24e76563431e36e512da06bfebb3a06ede31b3e84d9879213c162 /tmp/bitnami/pkg/cache/wait-for-port-1.0.3-0-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
|
|
tar -zxf /tmp/bitnami/pkg/cache/wait-for-port-1.0.3-0-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
|
rm -rf /tmp/bitnami/pkg/cache/wait-for-port-1.0.3-0-linux-amd64-debian-10.tar.gz
|
|
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/kong-ingress-controller-2.3.1-0-linux-amd64-debian-10.tar.gz && \
|
|
echo "c77806d573e5401319f30a011f0d6ef3cbf8542bb8ae7344e202bad9d0856228 /tmp/bitnami/pkg/cache/kong-ingress-controller-2.3.1-0-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
|
|
tar -zxf /tmp/bitnami/pkg/cache/kong-ingress-controller-2.3.1-0-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
|
rm -rf /tmp/bitnami/pkg/cache/kong-ingress-controller-2.3.1-0-linux-amd64-debian-10.tar.gz
|
|
RUN apt-get update && apt-get upgrade -y && \
|
|
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
|
RUN chmod g+rwX /opt/bitnami
|
|
|
|
ENV APP_VERSION="2.3.1" \
|
|
BITNAMI_APP_NAME="kong-ingress-controller" \
|
|
PATH="/opt/bitnami/common/bin:/opt/bitnami/kong-ingress-controller/bin:$PATH"
|
|
|
|
USER 1001
|
|
ENTRYPOINT [ "kong-ingress-controller" ]
|
|
CMD [ "--help" ]
|