Skip to content

Commit

Permalink
chore(docker): add dumb-init package
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>
  • Loading branch information
ajhalili2006 authored Oct 3, 2024
1 parent 74727c7 commit afe7c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/caddy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ COPY --from=builder /usr/bin/caddy /usr/bin/caddy
COPY --from=tailscale /usr/local/bin/tailscale /usr/local/bin/tailscaled /usr/local/bin/
COPY entrypoint.sh /usr/local/bin/

RUN apk add --no-cache ca-certificates iptables iproute2 ip6tables bash ca-certificates libcap mailcap \
RUN apk add --no-cache ca-certificates iptables iproute2 ip6tables bash ca-certificates libcap mailcap dumb-init \

Check failure on line 30 in docker/caddy/Dockerfile

View workflow job for this annotation

GitHub Actions / hadolint

DL3018 warning: Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
&& mkdir -p /var/run/tailscale /var/cache/tailscale /var/lib/tailscale \
&& setcap cap_net_bind_service=+ep /usr/bin/caddy

Expand Down

0 comments on commit afe7c83

Please sign in to comment.