From 4b177352dbc57f18343a5e53c6067d031fb7196e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sun, 11 Dec 2022 11:57:12 +0000 Subject: [PATCH] cmd/shfmt: update Dockerfile versions --- cmd/shfmt/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/shfmt/Dockerfile b/cmd/shfmt/Dockerfile index 9dd86dd52..4575183a9 100644 --- a/cmd/shfmt/Dockerfile +++ b/cmd/shfmt/Dockerfile @@ -1,11 +1,11 @@ -FROM golang:1.18.2-alpine AS build +FROM golang:1.19.4-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.15.4 AS alpine +FROM alpine:3.17.0 AS alpine COPY --from=build /src/shfmt /bin/shfmt COPY "./cmd/shfmt/docker-entrypoint.sh" "/init" ENTRYPOINT ["/init"]