Fixed typos
This commit is contained in:
parent
d6ebf07125
commit
68b14c455f
@ -16,7 +16,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
|
|||||||
go build -trimpath -tags netgo -ldflags '-extldflags "-static" -s -w' -o /usr/bin/caddy
|
go build -trimpath -tags netgo -ldflags '-extldflags "-static" -s -w' -o /usr/bin/caddy
|
||||||
|
|
||||||
# Fetch the latest default welcome page and default Caddy config
|
# Fetch the latest default welcome page and default Caddy config
|
||||||
FROM harbor.ervine.org/library/x86_64/alpine:3.12 AS fetch-assets
|
FROM harbor.ervine.org/library/x86_64/alpine/alpine:3.12 AS fetch-assets
|
||||||
|
|
||||||
RUN apk add --no-cache git
|
RUN apk add --no-cache git
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ RUN git checkout $DIST_COMMIT
|
|||||||
RUN cp config/Caddyfile /Caddyfile
|
RUN cp config/Caddyfile /Caddyfile
|
||||||
RUN cp welcome/index.html /index.html
|
RUN cp welcome/index.html /index.html
|
||||||
|
|
||||||
FROM harbor.ervine.org/library/x86_64/alpine:3.12 AS alpine
|
FROM harbor.ervine.org/library/x86_64/alpine/alpine:3.12 AS alpine
|
||||||
|
|
||||||
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
||||||
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs
|
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user