Updated Slurm version

This commit is contained in:
Bole Ma 2024-02-12 04:16:32 +08:00
parent 0f9a127a8a
commit 16fc17942e
2 changed files with 15 additions and 11 deletions

View File

@ -1,21 +1,21 @@
FROM rockylinux:8
FROM rockylinux:9
LABEL org.opencontainers.image.source="https://github.com/ClusterCockpit/cc-docker/" \
org.opencontainers.image.title="slurm-docker-cluster" \
org.opencontainers.image.description="Slurm Docker cluster on Rocky Linux 8" \
org.opencontainers.image.description="Slurm Docker cluster on Rocky Linux 9" \
org.label-schema.docker.cmd="docker-compose up -d" \
maintainer="Bole Ma, Giovanni Torres"
ARG SLURM_TAG=slurm-21-08-6-1
ARG GOSU_VERSION=1.11
ARG SLURM_TAG=slurm-22-05-2
ARG GOSU_VERSION=1.17
ARG SLURM_PATH=/opt
RUN set -ex \
&& yum makecache \
&& yum -y update \
&& yum -y install dnf-plugins-core \
&& yum config-manager --set-enabled powertools \
&& yum -y install \
&& dnf makecache \
&& dnf -y update \
&& dnf -y install dnf-plugins-core \
&& dnf config-manager --set-enabled powertools \
&& dnf -y install \
wget \
bzip2 \
cmake \
@ -38,8 +38,8 @@ RUN set -ex \
vim-enhanced \
http-parser-devel \
json-c-devel \
&& yum clean all \
&& rm -rf /var/cache/yum
&& dnf clean all \
&& rm -rf /var/cache/dnf
RUN alternatives --set python /usr/bin/python3

View File

@ -22,6 +22,10 @@
#include "src/common/parse_time.h"
#include "src/common/uid.h"
#include "src/interfaces/data_parser.h"
#include "src/common/data.h"
#include "src/common/openapi.h"
#include "src/slurmrestd/plugins/openapi/slurmctld/api.h"
#define P_NAME "PrEp-pika: "
#define BUFF_LEN 128