Skip to content

Commit

Permalink
Update tools
Browse files Browse the repository at this point in the history
- Go 1.21.7
- k6 v0.49.0
- skopeo v1.14.2
- xk6 v0.10.0

This fixes a number of compilation issues with Go 1.22.0. Create this
image just in case someone cannot upgrade to that version just yet.

Signed-off-by: Marcelo E. Magallon <[email protected]>
  • Loading branch information
mem committed Feb 7, 2024
1 parent 51a0296 commit e7c8051
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.hub.docker.com/library/golang:1.21.6 as go
FROM registry.hub.docker.com/library/golang:1.21.7 as go

COPY lib/go.env /usr/local/go

Expand Down Expand Up @@ -59,13 +59,13 @@ FROM go as tools
FROM go AS k6
# The grafana/xk6 image only exists for amd64, so we need to build it for
# the target architecture.
RUN env GOBIN=/build go install go.k6.io/xk6/cmd/xk6@v0.9.2
RUN env GOBIN=/build go install go.k6.io/xk6/cmd/xk6@v0.10.0

# The grafana/k6 image only exists for amd64, so we need to build it for
# the architecture we are targeting. The simplest way to build k6 is to
# (ab)use xk6 to build a binary without any extensions. In the future, if
# we wanted additional extensions, this is the place to add them.
RUN /build/xk6 build v0.46.0 --output /build/k6
RUN /build/xk6 build v0.49.0 --output /build/k6

FROM registry.hub.docker.com/library/debian:stable-slim as skopeo

Expand Down
8 changes: 4 additions & 4 deletions versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ git-chglog:
type: go
go:
repo: registry.hub.docker.com/library/golang
version: 1.21.6
version: 1.21.7
type: docker
golangci-lint:
repo: github.com/golangci/golangci-lint
Expand Down Expand Up @@ -48,7 +48,7 @@ jsonnet:
type: go
k6:
repo: github.com/grafana/k6
version: v0.46.0
version: v0.49.0
type: go
mage:
repo: github.com/magefile/mage
Expand All @@ -73,13 +73,13 @@ shellcheck:
type: docker
skopeo:
repo: github.com/containers/skopeo
version: v1.14.0
version: v1.14.2
type: go
wire:
repo: github.com/google/wire
version: v0.5.0
type: go
xk6:
repo: go.k6.io/xk6
version: v0.9.2
version: v0.10.0
type: go

0 comments on commit e7c8051

Please sign in to comment.