Start converting to Rocky Linux base image

This commit is contained in:
2023-07-10 16:48:51 +02:00
parent fa2287c661
commit f0a6652fb0
11 changed files with 260 additions and 268 deletions

View File

@@ -1,17 +0,0 @@
SLURM_VERSION = 19.05.1
IMAGE = scidas/slurm.base
DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
.PHONY: all build clean test
all: build
build:
cp -r "$(DIR)/../packages/centos-7/rpms" .
docker build -t $(IMAGE):$(SLURM_VERSION) .
clean:
@[ -z $(docker images -q $(IMAGE):$(SLURM_VERSION)) ] || docker rmi $(IMAGE):$(SLURM_VERSION)
rm -rf rpms