Files
fuse-device-plugin/Containerfile
Dustin C. Hatch 215b7d785c
All checks were successful
ContainerImages/fuse-device-plugin/pipeline/head This commit looks good
Initial commit
2023-10-08 11:26:56 -05:00

17 lines
460 B
Docker

FROM docker.io/library/golang:1.21 AS build
WORKDIR /go/src/fuse-device-plugin
RUN git clone https://github.com/kuberenetes-learning-group/fuse-device-plugin.git .
RUN CGO_ENABLED=0 GO111MODULE=on go build && strip -s fuse-device-plugin
FROM registry.fedoraproject.org/fedora-minimal:38
COPY --from=build /go/src/fuse-device-plugin/fuse-device-plugin /usr/local/bin/fuse-device-plugin
ENTRYPOINT ["fuse-device-plugin"]
CMD ["--mounts_allowed", "5000"]