Skip to content

Commit

Permalink
update base Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
nxcc committed May 24, 2024
1 parent 6d4a4ea commit 1f5c082
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ the [docs directory](docs).
* `v1.7.3` update base Docker image
* `v1.7.4` update base Docker image
* `v1.7.5` update base Docker image
* `v1.7.6` update base Docker image

[restic]: https://github.com/restic/restic
[sidecar]: test/deploy/demo/base/_common/deployment.yaml#L26-L48
Expand Down
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# https://hub.docker.com/_/golang
FROM golang:1.22.2 AS builder
FROM golang:1.22.3 AS builder
WORKDIR /go/src/app
ARG VERSION
COPY . ./
RUN CGO_ENABLED=0 go build -trimpath -tags timetzdata -ldflags="-s -w -X 'main.build=$VERSION'" -o mcs-backup ./cmd/mcs-backup

# https://hub.docker.com/_/alpine
FROM library/alpine:3.19.1
FROM library/alpine:3.20.0

# https://github.com/restic/restic/releases
ARG RESTIC_VERSION=0.16.4
# https://github.com/mikefarah/yq/releases/
ARG YQ_VERSION=4.43.1
ARG YQ_VERSION=4.44.1
RUN set -x \
&& apk --no-cache add curl \
&& curl -Lo /usr/bin/restic.bz2 \
Expand Down

0 comments on commit 1f5c082

Please sign in to comment.