From 2da9aaae3afc096204ae61eb92aa7eeb8888deba Mon Sep 17 00:00:00 2001 From: Simon Pintarelli Date: Tue, 2 Apr 2024 16:48:35 +0200 Subject: [PATCH] set default paths, remove --platform arg --- slurm-23.02.6/Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/slurm-23.02.6/Dockerfile b/slurm-23.02.6/Dockerfile index d96d217..f6cd1e0 100644 --- a/slurm-23.02.6/Dockerfile +++ b/slurm-23.02.6/Dockerfile @@ -1,8 +1,8 @@ -FROM --platform=linux/amd64 opensuse/leap:15.4 +FROM opensuse/leap:15.4 ARG SLURM_VERSION=23.02.6 -ARG SLURM_ROOT=/opt/slurm-${SLURM_VERSION} -ARG SLURM_CONFDIR=${SLURM_ROOT}/etc +ARG SLURM_ROOT=/usr +ARG SLURM_CONFDIR=/etc/slurm ENV SLURM_VERSION ${SLURM_VERSION} ENV SLURM_ROOT ${SLURM_ROOT} @@ -33,7 +33,6 @@ RUN zypper install -y \ tar \ bzip2 \ python3 \ - vim \ ca-certificates \ less \ sudo