diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..b6c402f --- /dev/null +++ b/.github/dependabot.yml @@ -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" diff --git a/Dockerfile b/Dockerfile index 9a4ff5e..aec1879 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ]