File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 11FROM alpine:3.16
22
3- RUN apk add --no-cache ca-certificates mailcap
3+ RUN apk add --no-cache \
4+ ca-certificates \
5+ libcap \
6+ mailcap
47
58RUN set -eux; \
69 mkdir -p \
@@ -30,6 +33,7 @@ RUN set -eux; \
3033 echo "$checksum /tmp/caddy.tar.gz" | sha512sum -c; \
3134 tar x -z -f /tmp/caddy.tar.gz -C /usr/bin caddy; \
3235 rm -f /tmp/caddy.tar.gz; \
36+ setcap cap_net_bind_service=+ep /usr/bin/caddy; \
3337 chmod +x /usr/bin/caddy; \
3438 caddy version
3539
Original file line number Diff line number Diff line change 11{{ .base | strings.TrimSpace }}
22
3- RUN apk add --no-cache ca-certificates mailcap
3+ RUN apk add --no-cache \
4+ ca-certificates \
5+ libcap \
6+ mailcap
47
58RUN set -eux; \
69 mkdir -p \
@@ -30,6 +33,7 @@ RUN set -eux; \
3033 echo "$checksum /tmp/caddy.tar.gz" | sha512sum -c; \
3134 tar x -z -f /tmp/caddy.tar.gz -C /usr/bin caddy; \
3235 rm -f /tmp/caddy.tar.gz; \
36+ setcap cap_net_bind_service=+ep /usr/bin/caddy; \
3337 chmod +x /usr/bin/caddy; \
3438 caddy version
3539
You can’t perform that action at this time.
0 commit comments