use restic as base image

pull/268/head
cupcakearmy 2 years ago
parent 6990bf6adc
commit d6acab94a5
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F

@ -0,0 +1,8 @@
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"

@ -6,7 +6,8 @@ RUN go mod download
COPY . . COPY . .
RUN go build RUN go build
FROM alpine FROM restic/restic:0.14.0
RUN apk add --no-cache restic rclone bash openssh RUN apk add --no-cache rclone bash
COPY --from=builder /app/autorestic /usr/bin/autorestic COPY --from=builder /app/autorestic /usr/bin/autorestic
ENTRYPOINT []
CMD [ "autorestic" ] CMD [ "autorestic" ]

Loading…
Cancel
Save