sha256:aa4a4687b1330e427ad0d3b27a0606b833894297c78abf1a212edc9ba73c8620
OS/ARCH
Compressed size
113.46 MB
Last pushed
about 14 hours by doijanky
Type
Image
Vulnerabilities
Manifest digest
sha256:5e8ad63d52c02dc31745e4f577c73c4f702dd491d74f6da21a9c9abd77a3c4d8
6
ARG ASSET=ce
0 B
7
ENV ASSET=ce
0 B
8
ARG EE_PORTS
0 B
9
COPY kong.deb /tmp/kong.deb # buildkit
125 B
10
ARG KONG_VERSION=3.9.4
0 B
11
ENV KONG_VERSION=3.9.4
0 B
12
ARG KONG_AMD64_SHA=2048e1f72633dd90836794cbe785c9c917981d07e31d3dfe8dcf69962d791aa6
0 B
13
ARG KONG_ARM64_SHA=9fe628f7b6b9c8967d21549bc2cedbdcc23e7e2d32ed337dbd7e2647bc9f6a76
0 B
14
RUN |5 ASSET=ce EE_PORTS= KONG_VERSION=3.9.4 KONG_AMD64_SHA=2048e1f72633dd90836794cbe785c9c917981d07e31d3dfe8dcf69962d791aa6 KONG_ARM64_SHA=9fe628f7b6b9c8967d21549bc2cedbdcc23e7e2d32ed337dbd7e2647bc9f6a76 /bin/sh -c set -ex; arch=$(dpkg --print-architecture); case "${arch}" in amd64) KONG_SHA256=$KONG_AMD64_SHA ;; arm64) KONG_SHA256=$KONG_ARM64_SHA ;; esac; apt-get update && if [ "$ASSET" = "ce" ] ; then apt-get install -y --no-install-recommends curl ca-certificates && UBUNTU_CODENAME=$(cat /etc/os-release | grep UBUNTU_CODENAME | cut -d = -f 2) && KONG_REPO=$(echo ${KONG_VERSION%.*} | sed 's/\.//') && curl -fL https://packages.konghq.com/public/gateway-$KONG_REPO/deb/ubuntu/pool/$UBUNTU_CODENAME/main/k/ko/kong_$KONG_VERSION/kong_${KONG_VERSION}_$arch.deb -o /tmp/kong.deb && apt-get purge -y curl && echo "$KONG_SHA256 /tmp/kong.deb" | sha256sum -c - || exit 1; else apt-get upgrade -y ; fi; apt-get install -y --no-install-recommends unzip git && apt install --yes --no-install-recommends /tmp/kong.deb && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/kong.deb && chown kong:0 /usr/local/bin/kong && chown -R kong:0 /usr/local/kong && ln -sf /usr/local/openresty/bin/resty /usr/local/bin/resty && ln -sf /usr/local/openresty/luajit/bin/luajit /usr/local/bin/luajit && ln -sf /usr/local/openresty/luajit/bin/luajit /usr/local/bin/lua && ln -sf /usr/local/openresty/nginx/sbin/nginx /usr/local/bin/nginx && if [ "$ASSET" = "ce" ] ; then kong version ; fi # buildkit
90.03 MB
15
COPY docker-entrypoint.sh /docker-entrypoint.sh # buildkit
1.16 KB
16
USER kong
0 B
17
ENTRYPOINT ["/docker-entrypoint.sh"]
0 B
18
EXPOSE map[8000/tcp:{} 8001/tcp:{} 8443/tcp:{} 8444/tcp:{}]
0 B
19
STOPSIGNAL SIGQUIT
0 B
20
HEALTHCHECK &{["CMD-SHELL" "kong health"] "10s" "10s" "0s" "0s" '\n'}
0 B
21
CMD ["kong" "docker-start"]
0 B