Skip to content

Commit c2817e2

Browse files
committed
Dockerfile: bump github.com/josephspurrier/goversioninfo to v1.5.0
- Upgrade to Go 1.18 minimum version and remove ioutil references - Move from Travis to GitHub Actions for CI - Support multiple icons - Add options to parse version string full diff: josephspurrier/goversioninfo@v1.4.1...v1.5.0 Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent f68d8f1 commit c2817e2

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ ARG GO_VERSION=1.24.8
1313
# XX_VERSION specifies the version of the xx utility to use.
1414
# It must be a valid tag in the docker.io/tonistiigi/xx image repository.
1515
ARG XX_VERSION=1.7.0
16-
ARG GOVERSIONINFO_VERSION=v1.4.1
16+
17+
# GOVERSIONINFO_VERSION is the version of GoVersionInfo to install.
18+
# It must be a valid tag from https://github.com/josephspurrier/goversioninfo
19+
ARG GOVERSIONINFO_VERSION=v1.5.0
1720

1821
# GOTESTSUM_VERSION sets the version of gotestsum to install in the dev container.
1922
# It must be a valid tag in the https://github.com/gotestyourself/gotestsum repository.

dockerfiles/Dockerfile.dev

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
3535
GO111MODULE=on go install gotest.tools/gotestsum@${GOTESTSUM_VERSION}
3636

3737
FROM golang AS goversioninfo
38-
ARG GOVERSIONINFO_VERSION=v1.4.1
38+
# GOVERSIONINFO_VERSION is the version of GoVersionInfo to install.
39+
# It must be a valid tag from https://github.com/josephspurrier/goversioninfo
40+
ARG GOVERSIONINFO_VERSION=v1.5.0
3941
RUN --mount=type=cache,target=/root/.cache/go-build \
4042
--mount=type=cache,target=/go/pkg/mod \
4143
--mount=type=tmpfs,target=/go/src/ \

0 commit comments

Comments
 (0)