diff --git a/Dockerfile.apk b/Dockerfile.apk index 53499d11..ae5c5e9f 100644 --- a/Dockerfile.apk +++ b/Dockerfile.apk @@ -31,7 +31,8 @@ RUN set -ex; \ && chown kong:0 /usr/local/bin/kong \ && chmod -R g=u ${KONG_PREFIX} \ && rm -rf /tmp/kong.tar.gz \ - && ln -sf /usr/local/openresty/bin/resty /usr/local/bin/resty \ + && ln -sf /usr/lib64/libz.so.1 /usr/lib64/libz.so \ +h && 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 \ diff --git a/alpine/Dockerfile b/alpine/Dockerfile index 9a9201c5..0fb60e9d 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -42,6 +42,7 @@ RUN set -eux; \ && chown kong:0 /usr/local/bin/kong \ && chmod -R g=u /usr/local/kong \ && rm -rf /tmp/kong.tar.gz \ + && ln -sf /usr/lib64/libz.so.1 /usr/lib64/libz.so \ && 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 \