fleet/infrastructure/loadtesting/terraform/docker/loadtest.Dockerfile
Roberto Dip e46e83baf8
upgrade Go to 1.21.1 for infra (#13878)
related to #13715, this updates the infra dependencies for the general
go upgrade that's happening at
https://github.com/fleetdm/fleet/pull/13877

I'm thinking we probably want to merge this after we're sure that
everything works well, maybe even after we have a release with go 1.21.1
out, so I'm making a separate PR.

---------

Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
2023-10-12 21:09:17 -05:00

7 lines
425 B
Docker

FROM golang:1.21.1@sha256:0dff643e5bf836005eea93ad89e084a17681173e54dbaa9ec307fd776acab36e
ARG TAG
RUN git clone -b $TAG --depth=1 --no-tags --progress --no-recurse-submodules https://github.com/fleetdm/fleet.git && cd /go/fleet/cmd/osquery-perf/ && go build .
FROM golang:1.21.1@sha256:0dff643e5bf836005eea93ad89e084a17681173e54dbaa9ec307fd776acab36e
COPY --from=0 /go/fleet/cmd/osquery-perf/osquery-perf /go/osquery-perf