Skip to content

Commit

Permalink
fix command order
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-oleynik committed Sep 19, 2024
1 parent 214cbec commit d2db1cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ ARG SLURM_GROUP=slurm
RUN apt-get update && apt-get upgrade --yes \
libpmix-bin curl


RUN mkdir /build
RUN bash -c "for name in '' '-client' '-slurmctld' '-slurmdbd'; do \
curl https://github.com/scalableminds/slurm-packages/releases/download/${SLURM_VERSION}/slurm-smd${name}_${SLURM_VERSION}-1_amd64.deb -o /build/slurm-smd${name}_${SLURM_VERSION}-1_amd64.deb; \
done"

RUN mkdir /build
COPY *.deb /build
RUN apt-get install --yes -f \
/build/slurm-smd_$SLURM_VERSION-1_amd64.deb \
Expand Down

0 comments on commit d2db1cc

Please sign in to comment.