mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2025-09-04 01:30:39 +00:00
use restic as base image
This commit is contained in:
@@ -6,7 +6,8 @@ RUN go mod download
|
||||
COPY . .
|
||||
RUN go build
|
||||
|
||||
FROM alpine
|
||||
RUN apk add --no-cache restic rclone bash openssh
|
||||
FROM restic/restic:0.14.0
|
||||
RUN apk add --no-cache rclone bash
|
||||
COPY --from=builder /app/autorestic /usr/bin/autorestic
|
||||
ENTRYPOINT []
|
||||
CMD [ "autorestic" ]
|
||||
|
Reference in New Issue
Block a user