From 2d66221af9263c39bbf4a5eed47df2c151a40ddf Mon Sep 17 00:00:00 2001 From: Zoey Date: Mon, 24 Apr 2023 11:15:05 +0200 Subject: [PATCH] remove libcap Signed-off-by: Zoey --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 112aadc..6a84e89 100644 --- a/Dockerfile +++ b/Dockerfile @@ -89,8 +89,7 @@ RUN apk add --no-cache ca-certificates build-base patch cmake git mercurial perl FROM python:3.11.3-alpine3.17 COPY --from=build /usr/local/nginx /usr/local/nginx -RUN apk add --no-cache ca-certificates tzdata libcap && \ - setcap cap_net_bind_service=ep /usr/local/nginx/sbin/nginx && \ +RUN apk add --no-cache ca-certificates tzdata && \ ln -s /usr/local/nginx/sbin/nginx /usr/local/bin/nginx ENTRYPOINT ["nginx"] CMD ["-g", "daemon off;"]