File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed
Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -58,14 +58,17 @@ ADD https://github.com/airslate-ops/nginx-ingress-controller/releases/download/$
5858RUN find ${MODULES_DIR} -type f -name '*.so' -exec chmod 0644 {} \; \
5959 && ldconfig
6060
61- RUN /bin/sh -ceu '\
62- cat > /tmp/min.conf <<EOF\n \
63- load_module /usr/lib/nginx/modules/ndk_http_module.so;\n \
64- load_module /usr/lib/nginx/modules/ngx_http_lua_module.so;\n \
65- events {}\n \
66- http {}\n \
67- EOF\n \
68- nginx -t -c /tmp/min.conf \
61+ RUN /bin/sh -euc ' \
62+ set -x; \
63+ ls -l /usr/sbin/nginx || true; \
64+ /usr/sbin/nginx -V; \
65+ cat >/tmp/min.conf <<EOF
66+ load_module /usr/lib/nginx/modules/ndk_http_module.so;
67+ load_module /usr/lib/nginx/modules/ngx_http_lua_module.so;
68+ events {}
69+ http {}
70+ EOF
71+ /usr/sbin/nginx -t -c /tmp/min.conf \
6972'
7073# ############################################ NGINX files #############################################
7174FROM scratch AS nginx-files
You can’t perform that action at this time.
0 commit comments