mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 00:45:19 +00:00
71dbb71df4
* Update go to 1.19.4 * Comment out failing package test * Comment out ALL the packaging tests for windows for the moment * Update go to 1.19.4 * Comment out failing package test * Comment out ALL the packaging tests for windows for the moment * Update changelog * Bump versions * Update changelog to reflect this being a security release
17 lines
441 B
Docker
17 lines
441 B
Docker
FROM golang:1.19.4-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
|