mirror of
https://github.com/garethgeorge/backrest.git
synced 2026-05-04 12:00:36 +00:00
fix: dockerfile for 0.8.1 release
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
FROM golang:alpine as gobuild
|
||||
RUN mkdir /tmp-orig
|
||||
COPY backrest /backrest
|
||||
RUN /backrest --install-deps=true
|
||||
|
||||
FROM scratch
|
||||
COPY --from=gobuild /root/.local/share/backrest/ /.local/share/backrest/
|
||||
COPY --from=gobuild /tmp-orig /tmp
|
||||
COPY --from=gobuild /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user