From ef3bc13f4a9614139ac601044f2ad14344163ecb Mon Sep 17 00:00:00 2001 From: Kate Osborn Date: Thu, 10 Aug 2023 10:12:04 -0600 Subject: [PATCH] Update apk --- build/Dockerfile.nginx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/Dockerfile.nginx b/build/Dockerfile.nginx index 41c7a26d4d..6053430cbd 100644 --- a/build/Dockerfile.nginx +++ b/build/Dockerfile.nginx @@ -4,7 +4,7 @@ FROM nginx:1.25.1-alpine ARG NJS_DIR ARG NGINX_CONF_DIR -RUN apk add --no-cache libcap \ +RUN apk update && apk add --no-cache libcap \ && mkdir -p /var/lib/nginx /usr/lib/nginx/modules \ && setcap 'cap_net_bind_service=+ep' /usr/sbin/nginx \ && setcap -v 'cap_net_bind_service=+ep' /usr/sbin/nginx \