mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 00:45:19 +00:00
14 lines
338 B
Docker
14 lines
338 B
Docker
FROM alpine
|
|
LABEL maintainer="Fleet Developers <hello@fleetdm.com>"
|
|
|
|
RUN apk --update add ca-certificates
|
|
RUN apk --no-cache add jq
|
|
|
|
# Create FleetDM group and user
|
|
RUN addgroup -S fleet && adduser -S fleet -G fleet
|
|
|
|
COPY ./build/binary-bundle/linux/fleet ./build/binary-bundle/linux/fleetctl /usr/bin/
|
|
|
|
USER fleet
|
|
CMD ["fleet", "serve"]
|