diff --git a/2.6/builder/Dockerfile b/2.6/builder/Dockerfile index 7c7c9ef..fdcf3ab 100644 --- a/2.6/builder/Dockerfile +++ b/2.6/builder/Dockerfile @@ -1,8 +1,9 @@ FROM golang:1.19-alpine RUN apk add --no-cache \ - git \ - ca-certificates + ca-certificates \ + git \ + libcap ENV XCADDY_VERSION v0.3.1 # Configures xcaddy to build with this version of Caddy @@ -29,4 +30,4 @@ RUN set -eux; \ COPY caddy-builder.sh /usr/bin/caddy-builder -WORKDIR /usr/bin +WORKDIR /usr/bin \ No newline at end of file diff --git a/Dockerfile.builder.tmpl b/Dockerfile.builder.tmpl index 9e94b1e..cb9e976 100644 --- a/Dockerfile.builder.tmpl +++ b/Dockerfile.builder.tmpl @@ -1,8 +1,9 @@ {{ .base | strings.TrimSpace }} RUN apk add --no-cache \ - git \ - ca-certificates + ca-certificates \ + git \ + libcap ENV XCADDY_VERSION v{{ .xcaddy_config.version }} # Configures xcaddy to build with this version of Caddy @@ -29,4 +30,4 @@ RUN set -eux; \ COPY caddy-builder.sh /usr/bin/caddy-builder -WORKDIR /usr/bin +WORKDIR /usr/bin \ No newline at end of file