Skip to content

Commit

Permalink
fix(Dockerfile): symlink to required libz
Browse files Browse the repository at this point in the history
  • Loading branch information
locao authored and kikito committed Jun 25, 2024
1 parent c50856d commit 3820a59
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile.rpm
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ RUN set -ex; \
&& rm /tmp/kong.rpm \
&& chown kong:0 /usr/local/bin/kong \
&& chown -R kong:0 "$KONG_PREFIX" \
&& 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 \
Expand Down
1 change: 1 addition & 0 deletions centos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ RUN set -ex; \
&& rm /tmp/kong.rpm \
&& chown kong:0 /usr/local/bin/kong \
&& chown -R kong:0 /usr/local/kong \
&& 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 \
Expand Down
1 change: 1 addition & 0 deletions rhel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ RUN set -ex; \
&& rm /tmp/kong.rpm \
&& chown kong:0 /usr/local/bin/kong \
&& chown -R kong:0 /usr/local/kong \
&& 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 \
Expand Down

0 comments on commit 3820a59

Please sign in to comment.