Skip to content

Commit

Permalink
Update slurm to 22-05-9-1 and rockylinux 9 to get a compatible versio…
Browse files Browse the repository at this point in the history
…n of slurm-contribs which includes the seff tool
  • Loading branch information
daniel-wer committed Jul 20, 2023
1 parent c7811b1 commit 4500e28
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions slurm-docker-cluster/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rockylinux:8.5
FROM rockylinux:9.2

ENV LC_ALL=en_US.utf8
ENV LANG=en_US.utf8
Expand All @@ -9,29 +9,30 @@ LABEL org.opencontainers.image.source="https://github.com/giovtorres/slurm-docke
org.label-schema.docker.cmd="docker-compose up -d" \
maintainer="Giovanni Torres"

ARG SLURM_TAG=slurm-21-08-8-2
ARG SLURM_TAG=slurm-22-05-9-1
ARG GOSU_VERSION=1.11

RUN set -ex \
&& dnf makecache \
&& dnf -y update \
&& dnf -y install dnf-plugins-core https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \
&& dnf -y install dnf-plugins-core https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \
&& dnf config-manager --enable epel \
&& dnf config-manager --set-enabled powertools \
&& dnf config-manager --enable crb \
&& dnf -y install \
wget \
bzip2 \
perl \
gcc \
gcc-c++\
git \
glibc-langpack-en \
gnupg \
make \
munge \
munge-devel \
python38 \
python38-devel \
python38-pip \
python39 \
python3-devel \
python3-pip \
mariadb-server \
mariadb-devel \
psmisc \
Expand Down Expand Up @@ -63,9 +64,8 @@ RUN set -ex \
&& gosu nobody true

RUN set -x \
&& git clone https://github.com/SchedMD/slurm.git \
&& git clone --depth 1 --branch $SLURM_TAG https://github.com/SchedMD/slurm.git \
&& pushd slurm \
&& git checkout tags/$SLURM_TAG \
&& ./configure --enable-debug --prefix=/usr --sysconfdir=/etc/slurm \
--with-mysql_config=/usr/bin --libdir=/usr/lib64 \
&& make install \
Expand Down

0 comments on commit 4500e28

Please sign in to comment.