Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dongjiang1989 authored Mar 13, 2024
1 parent c0f6161 commit edde234
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
ARG GO_VERSION=1.22.1-alpine3.19
ARG CLI_VERSION=20.10.2
ARG GOLANGCI_LINT_VERSION=v1.56.2-alpine
ARG ARCH=amd64
ARG OS=linux
ARG GOTESTSUM_VERSION=1.11.0

FROM golang:${GO_VERSION} AS builder
RUN apk add --no-cache \
Expand All @@ -22,5 +19,8 @@ COPY --from=lint-base /usr/bin/golangci-lint /usr/bin/golangci-lint
####
# gotestsum
####
ARG ARCH=amd64
ARG OS=linux
ARG GOTESTSUM_VERSION=1.11.0
RUN wget https://github.com/gotestyourself/gotestsum/releases/download/v${GOTESTSUM_VERSION}/gotestsum_${GOTESTSUM_VERSION}_${OS}_${ARCH}.tar.gz -nv -O - | tar -xz
RUN mv /root/gotestsum /usr/local/bin/gotestsum

0 comments on commit edde234

Please sign in to comment.