fleet/infrastructure/loadtesting/terraform/docker/loadtest.Dockerfile
Zachary Winnerman 34bfe71674
Loadtest test (#6218)
* testing

* another fix

* Revert "add changes file"

This reverts commit bc2402348e2e6d6e7252ef899dd899b758379003.

* revert 71e1639531

Co-authored-by: Roberto Dip <dip.jesusr@gmail.com>
2022-06-14 15:39:49 +00:00

7 lines
328 B
Docker

FROM golang:1.18.0
ARG TAG
RUN apt update && apt upgrade -y && apt install npm yarnpkg -y && ln -s /usr/bin/yarnpkg /usr/bin/yarn
RUN git clone -b $TAG https://github.com/fleetdm/fleet.git && cd /go/fleet/cmd/osquery-perf/ && go build .
FROM golang:1.18.0
COPY --from=0 /go/fleet/cmd/osquery-perf/osquery-perf /go/osquery-perf