Skip to content

Commit

Permalink
cmd/shfmt: bump deps in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdan committed Oct 20, 2024
1 parent 686e8c1 commit 3ec5b6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/shfmt/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down

0 comments on commit 3ec5b6c

Please sign in to comment.