mirror of
https://github.com/garethgeorge/backrest.git
synced 2026-05-06 04:50:35 +00:00
9 lines
220 B
Docker
9 lines
220 B
Docker
FROM golang:alpine as gobuild
|
|
RUN mkdir /tmp-orig
|
|
|
|
FROM scratch
|
|
COPY --from=gobuild /tmp-orig /tmp
|
|
COPY --from=gobuild /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
|
|
|
ENTRYPOINT ["/backrest"]
|
|
COPY backrest /backrest |