-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (20 loc) · 864 Bytes
/
Makefile
File metadata and controls
30 lines (20 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
VERSION ?= 22.04
REGISTRY ?= ghcr.io/synpse-hq
jupyter:
docker build -f docker/jupyter/Dockerfile --platform linux/amd64 -t ${REGISTRY}/slurm-jupyter:${VERSION} .
push-jupyter: jupyter
docker push ${REGISTRY}/slurm-jupyter:${VERSION}
master:
docker build -f docker/master/Dockerfile --platform linux/amd64 -t ${REGISTRY}/slurm-master:${VERSION} .
push-master: master
docker push ${REGISTRY}/slurm-master:${VERSION}
node:
docker build -f docker/node/Dockerfile --platform linux/amd64 -t ${REGISTRY}/slurm-node:${VERSION} .
push-node: node
docker push ${REGISTRY}/slurm-node:${VERSION}
slurmdbd:
docker build -f docker/slurmdbd/Dockerfile --platform linux/amd64 -t ${REGISTRY}/slurmdbd:${VERSION} .
push-slurmdbd: slurmdbd
docker push ${REGISTRY}/slurmdbd:${VERSION}
# Build and push all images
all: push-node push-master push-jupyter push-slurmdbd