We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6efadee commit ef3bc13Copy full SHA for ef3bc13
build/Dockerfile.nginx
@@ -4,7 +4,7 @@ FROM nginx:1.25.1-alpine
4
ARG NJS_DIR
5
ARG NGINX_CONF_DIR
6
7
-RUN apk add --no-cache libcap \
+RUN apk update && apk add --no-cache libcap \
8
&& mkdir -p /var/lib/nginx /usr/lib/nginx/modules \
9
&& setcap 'cap_net_bind_service=+ep' /usr/sbin/nginx \
10
&& setcap -v 'cap_net_bind_service=+ep' /usr/sbin/nginx \
0 commit comments