2023-06-23 19:33:29 +00:00
|
|
|
FROM alpine:3.18.2@sha256:82d1e9d7ed48a7523bdebc18cf6290bdb97b82302a8a9c27d4fe885949ea94d1
|
2022-11-10 16:59:08 +00:00
|
|
|
LABEL maintainer="Fleet Developers"
|
2016-08-25 13:25:02 +00:00
|
|
|
|
2017-10-16 23:35:14 +00:00
|
|
|
RUN apk --update add ca-certificates
|
2022-07-19 16:02:51 +00:00
|
|
|
RUN apk --no-cache add jq
|
2017-01-11 06:39:14 +00:00
|
|
|
|
2020-12-22 16:23:17 +00:00
|
|
|
# Create FleetDM group and user
|
|
|
|
RUN addgroup -S fleet && adduser -S fleet -G fleet
|
|
|
|
|
2018-08-08 23:21:49 +00:00
|
|
|
COPY ./build/binary-bundle/linux/fleet ./build/binary-bundle/linux/fleetctl /usr/bin/
|
2016-08-25 13:25:02 +00:00
|
|
|
|
2020-12-22 16:23:17 +00:00
|
|
|
USER fleet
|
2017-10-16 23:35:14 +00:00
|
|
|
CMD ["fleet", "serve"]
|