fleet/Dockerfile
Robert Fairburn bb1b90a1d8
Update/ensure pinned Dockerfile images (#20141)
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.
2024-07-01 19:36:42 -05:00

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"]