From 215b7d785cd77369a2b1c5958a39f77193f18037 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 8 Oct 2023 11:26:56 -0500 Subject: [PATCH] Initial commit --- Containerfile | 16 ++++++++++++++++ Jenkinsfile | 3 +++ 2 files changed, 19 insertions(+) create mode 100644 Containerfile create mode 100644 Jenkinsfile diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..09da600 --- /dev/null +++ b/Containerfile @@ -0,0 +1,16 @@ +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"] diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..7e96586 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,3 @@ +// vim: set sw=4 ts=4 sts=4 et : + +buildContainerImage2(archlist: ['arm64', 'amd64'])