mirror of
https://github.com/fleetdm/fleet
synced 2026-05-14 12:38:41 +00:00
Note: This ensures that we are using the latest stable base images possible and that they are tagged/pinned to images we have confidence in. Note: Not pinning in `tools/fleet-docker/Dockerfile` was a large oversight as it was the Dockerfile used in releases.
13 lines
397 B
Docker
13 lines
397 B
Docker
FROM alpine:3.20.1@sha256:b89d9c93e9ed3597455c90a0b88a8bbb5cb7188438f70953fede212a0c4394e0
|
|
LABEL maintainer="Fleet Developers"
|
|
|
|
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"]
|