autorestic/Dockerfile
dependabot[bot] 20773c6531
Bump restic/restic from 0.15.1 to 0.15.2
Bumps restic/restic from 0.15.1 to 0.15.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 22:02:46 +00:00

14 lines
256 B
Docker

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