We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 495b541 commit 4f77f72Copy full SHA for 4f77f72
build/Dockerfile
@@ -43,7 +43,7 @@ RUN apt-get update \
43
&& rm -rf /var/lib/apt/lists/*
44
45
ADD https://github.com/airslate-ops/nginx-ingress-controller/releases/download/${LUA_VERSION}/libluajit-5.1.so.2 /usr/local/lib/
46
-RUN cp -a /usr/local/lib/libluajit-5.1.so.2 /usr/lib/x86_64-linux-gnu/ \
+RUN install -D -m 0644 /usr/local/lib/libluajit-5.1.so.2 /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 \
47
&& ln -sf /usr/local/lib/libluajit-5.1.so.2 /usr/local/lib/libluajit-5.1.so \
48
&& printf "/usr/local/lib\n/usr/lib/x86_64-linux-gnu\n" > /etc/ld.so.conf.d/zz-nginx-luajit.conf \
49
&& ldconfig
0 commit comments