sha256:b2980ac91056bcc9cbf593b2b3d6a8c458cc134304b4d83bc4c93a6449f18df7
OS/ARCH
Compressed size
114.72 MB
Last pushed
over 1 year by doijanky
Type
Image
Vulnerabilities
Manifest digest
sha256:28bd5b80103fc3e92def8f5a425ae39e81cddcb5473055d43182f9f6a7e6cb2a
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
130 B
11
ARG KONG_VERSION=3.9.0
0 B
12
ENV KONG_VERSION=3.9.0
0 B
13
ARG KONG_AMD64_SHA=c05ef5dc312676e032627c1cb0934056061d97b43ed8eb20bea9218916d90b40
0 B
14
ARG KONG_ARM64_SHA=b487f95079a3a8ec07d331725e02b5a489e979f0d5e95ad16278bf60a665b34d
0 B
15
RUN |5 ASSET=ce EE_PORTS= KONG_VERSION=3.9.0 KONG_AMD64_SHA=c05ef5dc312676e032627c1cb0934056061d97b43ed8eb20bea9218916d90b40 KONG_ARM64_SHA=b487f95079a3a8ec07d331725e02b5a489e979f0d5e95ad16278bf60a665b34d /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.57 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