fleet/Dockerfile

14 lines
397 B
Docker
Raw Normal View History

FROM alpine:3.18.2@sha256:82d1e9d7ed48a7523bdebc18cf6290bdb97b82302a8a9c27d4fe885949ea94d1
LABEL maintainer="Fleet Developers"
RUN apk --update add ca-certificates
2022-07-19 16:02:51 +00:00
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"]