Update kopia

This commit is contained in:
Simon Beck 2022-07-11 21:59:05 +02:00
parent 4eadf73d0c
commit 8774fde43b
2 changed files with 4 additions and 2 deletions

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
tmp
bin

View File

@ -1,6 +1,6 @@
FROM golang:1.17 as build
ENV CGO_ENABLED=0
ENV KOPIA_VERSION=0.10.7
ENV KOPIA_VERSION=0.11.3
WORKDIR /kopia-k8s
RUN wget "https://github.com/kopia/kopia/releases/download/v${KOPIA_VERSION}/kopia-${KOPIA_VERSION}-linux-x64.tar.gz" && \
@ -10,7 +10,7 @@ RUN VERSION=$(git describe --tags --always) && \
go build -v -a -ldflags "-X main.version=$VERSION"
FROM alpine
ENV KOPIA_VERSION=0.10.7
ENV KOPIA_VERSION=0.11.3
RUN apk --no-cache add ca-certificates
COPY --from=build /kopia-k8s/kopia-k8s /kopia-k8s
COPY --from=build /kopia-k8s/kopia-${KOPIA_VERSION}-linux-x64 /usr/local/bin