Files
autorestic/Dockerfile
dependabot[bot] 170d6e4b95 Bump restic/restic from 0.16.4 to 0.16.5
Bumps restic/restic from 0.16.4 to 0.16.5.

---
updated-dependencies:
- dependency-name: restic/restic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 21:37:49 +00:00

14 lines
272 B
Docker

FROM golang:1.22-alpine as builder
WORKDIR /app
COPY go.* .
RUN go mod download
COPY . .
RUN go build
FROM restic/restic:0.16.5
RUN apk add --no-cache rclone bash curl docker-cli
COPY --from=builder /app/autorestic /usr/bin/autorestic
ENTRYPOINT []
CMD [ "autorestic" ]