sha256:5d46b1fcb0c29a1e5739499ca8d7af9ce6a6531ab37d9ae42f49478103a4c4dc
OS/ARCH
Compressed size
90.61 MB
Last pushed
over 1 year by doijanky
Type
Image
Vulnerabilities
Manifest digest
sha256:fd4dfe075a2fcaf5215ea41deb3dcc8530acc7df36c7403ca4c9b324f8ed3df7
7
ARG ASSET=ce
0 B
8
ENV ASSET=ce
0 B
9
ARG EE_PORTS
0 B
10
COPY kong.deb /tmp/kong.deb # buildkit
125 B
11
ARG KONG_VERSION=3.7.1
0 B
12
ENV KONG_VERSION=3.7.1
0 B
13
ARG KONG_AMD64_SHA=58e380961fc90c6b4dfd62f4ee596ab053afe5ae72a93445c4356f496f2dc9ec
0 B
14
ARG KONG_ARM64_SHA=602a68cf3a09bbea26106d4bd4041c242d7913e40582d18cac0f6958aad78f72
0 B
15
RUN |5 ASSET=ce EE_PORTS= KONG_VERSION=3.7.1 KONG_AMD64_SHA=58e380961fc90c6b4dfd62f4ee596ab053afe5ae72a93445c4356f496f2dc9ec KONG_ARM64_SHA=602a68cf3a09bbea26106d4bd4041c242d7913e40582d18cac0f6958aad78f72 /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
67.65 MB
16
COPY docker-entrypoint.sh /docker-entrypoint.sh # buildkit
1.16 KB
17
USER kong
0 B
18
ENTRYPOINT ["/docker-entrypoint.sh"]
0 B
19
EXPOSE map[8000/tcp:{} 8001/tcp:{} 8443/tcp:{} 8444/tcp:{}]
0 B
20
STOPSIGNAL SIGQUIT
0 B
21
HEALTHCHECK &{["CMD-SHELL" "kong health"] "10s" "10s" "0s" "0s" '\n'}
0 B
22
CMD ["kong" "docker-start"]
0 B