From fcdbb57bd7302a58084ead3ec1bd13d12c99be92 Mon Sep 17 00:00:00 2001 From: work <26752232+githubsands@users.noreply.github.com> Date: Tue, 15 Dec 2020 16:29:09 -0700 Subject: [PATCH] Dockerfile base --- Dockerfile | 19 +++++++++++++++++++ slurm.pc | 5 +++++ 2 files changed, 24 insertions(+) create mode 100644 Dockerfile create mode 100644 slurm.pc diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..1ab8ba3 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +FROM tetafro/golang-gcc as installer + +RUN apk update && apk add git + +RUN cd src \ + && git clone https://github.com/angt/slurm-https \ + && git clone https://github.com/SchedMD/slurm \ + && pwd + +FROM installer as configer + +RUN mkdir -p /src/slurm && mkdir -p /src/slurm-https + +# COPY --from=installer /src/slurm-https /src/slurm-https +COPY --from=installer /go/src/slurm /src/slurm +COPY --from=installer /go/src/slurm-https /src/slurm-https + + +COPY slurm.pc / diff --git a/slurm.pc b/slurm.pc new file mode 100644 index 0000000..f5f84b4 --- /dev/null +++ b/slurm.pc @@ -0,0 +1,5 @@ +Name: slurm +Description: Slurm +Version: 1.0.0 +Cflags: -I/usr/include/slurm +Libs: -lslurm