mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
Bumps golang from 1.20.3-alpine to 1.20.5-alpine. Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
16 lines
513 B
Text
16 lines
513 B
Text
FROM golang:1.20.5-alpine@sha256:b036c52b3bcc8e4e31be19a7a902bb9897b2bf18028f40fd306a9778bab5771c
|
|
|
|
ARG ENROLL_SECRET
|
|
ARG HOST_COUNT
|
|
ARG SERVER_URL
|
|
|
|
ENV ENROLL_SECRET ${ENROLL_SECRET}
|
|
ENV HOST_COUNT ${HOST_COUNT}
|
|
ENV SERVER_URL ${SERVER_URL}
|
|
|
|
COPY ./cmd/osquery-perf/agent.go ./go.mod ./go.sum ./cmd/osquery-perf/mac10.14.6.tmpl /osquery-perf/
|
|
WORKDIR /osquery-perf/
|
|
RUN go mod download
|
|
RUN go build -o osquery-perf
|
|
|
|
CMD ./osquery-perf -enroll_secret $ENROLL_SECRET -host_count $HOST_COUNT -server_url $SERVER_URL
|