Skip to content

Commit 2d66221

Browse files
authored
remove libcap
Signed-off-by: Zoey <[email protected]>
1 parent 1506db3 commit 2d66221

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ RUN apk add --no-cache ca-certificates build-base patch cmake git mercurial perl
8989

9090
FROM python:3.11.3-alpine3.17
9191
COPY --from=build /usr/local/nginx /usr/local/nginx
92-
RUN apk add --no-cache ca-certificates tzdata libcap && \
93-
setcap cap_net_bind_service=ep /usr/local/nginx/sbin/nginx && \
92+
RUN apk add --no-cache ca-certificates tzdata && \
9493
ln -s /usr/local/nginx/sbin/nginx /usr/local/bin/nginx
9594
ENTRYPOINT ["nginx"]
9695
CMD ["-g", "daemon off;"]

0 commit comments

Comments
 (0)