Skip to content

Commit ef3bc13

Browse files
author
Kate Osborn
committed
Update apk
1 parent 6efadee commit ef3bc13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/Dockerfile.nginx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM nginx:1.25.1-alpine
44
ARG NJS_DIR
55
ARG NGINX_CONF_DIR
66

7-
RUN apk add --no-cache libcap \
7+
RUN apk update && apk add --no-cache libcap \
88
&& mkdir -p /var/lib/nginx /usr/lib/nginx/modules \
99
&& setcap 'cap_net_bind_service=+ep' /usr/sbin/nginx \
1010
&& setcap -v 'cap_net_bind_service=+ep' /usr/sbin/nginx \

0 commit comments

Comments
 (0)