Skip to content

Commit

Permalink
fix(apk) remove alpine deps (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
kikito authored Mar 21, 2023
1 parent a6b0d9e commit 5641f88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile.apk
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ARG EE_PORTS
COPY kong.apk.tar.gz /tmp/kong.apk.tar.gz

RUN set -ex; \
apk add curl tar gzip ca-certificates; \
apk add --virtual .build-deps curl tar gzip ca-certificates; \
export ARCH='amd64'; \
if [ "$ASSET" = "remote" ] ; then \
curl -fL "https://download.konghq.com/gateway-${KONG_VERSION%%.*}.x-alpine/kong-${KONG_VERSION}.${ARCH}.apk.tar.gz" -o /tmp/kong.apk.tar.gz \
Expand All @@ -36,6 +36,7 @@ RUN set -ex; \
&& 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 \
&& apk del .build-deps \
&& kong version

COPY docker-entrypoint.sh /docker-entrypoint.sh
Expand Down

0 comments on commit 5641f88

Please sign in to comment.