From 3ec5b6c98feaca53434b46586fa487cc5c9bd0d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sun, 20 Oct 2024 21:40:19 +0100 Subject: [PATCH] cmd/shfmt: bump deps in Dockerfile --- cmd/shfmt/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/shfmt/Dockerfile b/cmd/shfmt/Dockerfile index 604bab48..5cd1a818 100644 --- a/cmd/shfmt/Dockerfile +++ b/cmd/shfmt/Dockerfile @@ -1,11 +1,11 @@ -FROM golang:1.23.0-alpine AS build +FROM golang:1.23.2-alpine AS build WORKDIR /src RUN apk add --no-cache git COPY . . RUN CGO_ENABLED=0 go build -ldflags "-w -s -extldflags '-static' -X main.version=$(git describe --always --dirty --tags)" ./cmd/shfmt -FROM alpine:3.19.1 AS alpine +FROM alpine:3.20.3 AS alpine COPY --from=build /src/shfmt /bin/shfmt COPY "./cmd/shfmt/docker-entrypoint.sh" "/init" ENTRYPOINT ["/init"]