Skip to content

Commit

Permalink
Dockerfile: Caddy v2.7.5. Xcaddy 0.3.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshix committed Oct 27, 2023
1 parent a617952 commit 2a057b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ FROM golang:1.21 AS builder
RUN mkdir /build
WORKDIR /build
RUN go install github.com/caddyserver/xcaddy/cmd/[email protected]
RUN xcaddy build v2.7.4
RUN xcaddy build v2.7.5

FROM scratch
LABEL maintainer="Josh Wood <[email protected]>"
LABEL caddy-version="2.7.4"
LABEL caddy-version="2.7.5"
COPY rootfs /
COPY --from=builder /build/caddy /bin/caddy
USER 65534:65534
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Preserved for reference. The build is no longer done out-of-band and the caddy b

```sh
cd /tmp/caddyboxbuild
GOOS=linux GOARCH=amd64 xcaddy build v2.7.4
GOOS=linux GOARCH=amd64 xcaddy build v2.7.5
file caddy
cp caddy [...]/caddybox/rootfs/bin/caddy
```
Expand Down

0 comments on commit 2a057b6

Please sign in to comment.