fuse-device-plugin/Dockerfile
Renovate Bot d5e825fa34
All checks were successful
ZeroDownTime/fuse-device-plugin/pipeline/pr-master This commit looks good
chore(deps): update golang docker tag to v1.23
2024-08-14 03:11:37 +00:00

11 lines
294 B
Docker

FROM golang:1.23-alpine as builder
COPY src /fuse-device-plugin
WORKDIR /fuse-device-plugin
RUN CGO_ENABLED=0 go build -ldflags "-s -w" .
FROM scratch
COPY --from=builder /fuse-device-plugin/fuse-device-plugin /fuse-device-plugin
ENTRYPOINT ["/fuse-device-plugin", "--mounts_allowed", "40"]