|
|
@ -1,4 +1,4 @@
|
|
|
|
FROM golang:1.20-alpine as builder
|
|
|
|
FROM golang:1.21-alpine as builder
|
|
|
|
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
WORKDIR /app
|
|
|
|
COPY go.* .
|
|
|
|
COPY go.* .
|
|
|
@ -6,7 +6,7 @@ RUN go mod download
|
|
|
|
COPY . .
|
|
|
|
COPY . .
|
|
|
|
RUN go build
|
|
|
|
RUN go build
|
|
|
|
|
|
|
|
|
|
|
|
FROM restic/restic:0.16.0
|
|
|
|
FROM restic/restic:0.16.4
|
|
|
|
RUN apk add --no-cache rclone bash curl
|
|
|
|
RUN apk add --no-cache rclone bash curl
|
|
|
|
COPY --from=builder /app/autorestic /usr/bin/autorestic
|
|
|
|
COPY --from=builder /app/autorestic /usr/bin/autorestic
|
|
|
|
ENTRYPOINT []
|
|
|
|
ENTRYPOINT []
|
|
|
|