mirror of
https://github.com/hacdias/webdav.git
synced 2024-04-21 12:32:06 +00:00
The commit 05e995b doesn't work well with goreleaser (see: goreleaser/goreleaser#694), which broke the Docker image build. Reverting the commit should restore sanity in the goreleaser flow.
11 lines
224 B
Docker
11 lines
224 B
Docker
FROM alpine:latest as certs
|
|
RUN apk --update add ca-certificates
|
|
|
|
FROM scratch
|
|
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
|
|
|
EXPOSE 80
|
|
COPY webdav /webdav
|
|
|
|
ENTRYPOINT [ "/webdav" ]
|