mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
49d2cba77a
Bumps golang from 1.17.1-alpine to 1.18.1-alpine. --- updated-dependencies: - dependency-name: golang dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
16 lines
440 B
Docker
16 lines
440 B
Docker
FROM golang:1.18.1-alpine
|
|
|
|
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 |