File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,13 @@ RUN dotnet publish --framework net9.0 -o output \
5252
5353# build goimports
5454FROM docker.io/golang:1.24-alpine AS goimports-builder
55+
5556RUN go install golang.org/x/tools/cmd/goimports@latest
57+
58+ RUN go install github.com/segmentio/
[email protected] 59+
60+ RUN go install mvdan.cc/
[email protected] 61+
5662# will copy /usr/local/go into release image later, trims about 170mb
5763RUN rm -rf /usr/local/go/*.md && \
5864 rm -rf /usr/local/go/api && \
@@ -104,6 +110,8 @@ COPY --from=rubyfmt-downloader /tmp/releases/v0.11.67-0-Linux/rubyfmt /usr/bin/r
104110# Go
105111COPY --from=goimports-builder /usr/local/go/ /usr/local/go/
106112COPY --from=goimports-builder /go/bin/goimports /usr/bin
113+ COPY --from=goimports-builder /go/bin/golines /usr/bin
114+ COPY --from=goimports-builder /go/bin/gofumpt /usr/bin
107115
108116# C#
109117COPY --from=csharpier-builder /app/output/CSharpier /usr/bin/csharpier
You can’t perform that action at this time.
0 commit comments