-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBuildDockerStack.sh
More file actions
44 lines (30 loc) · 1.7 KB
/
Copy pathBuildDockerStack.sh
File metadata and controls
44 lines (30 loc) · 1.7 KB
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
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
mkdir -p empty
export VERSION=Workshop2023
# Create environment
docker build -t likask/mofem-spack-env -f Dockerfile-spack-env empty/
docker tag likask/mofem-spack-env:latest likask/mofem-spack-env:$VERSION
#Build core and users modules
docker build -t likask/mofem-spack-mofem -f Dockerfile-spack-mofem empty/
docker tag likask/mofem-spack-mofem:latest likask/mofem-spack-mofem:$VERSION
docker tag likask/mofem-spack-mofem:latest likask/mofem-intermidiate:latest
#Install softmech module
#docker build -t likask/mofem-spack-softmech -f Dockerfile-spack-softmech empty/
#docker tag likask/mofem-spack-softmech:latest likask/mofem-spack-softmech:$VERSION
#docker tag likask/mofem-spack-softmech:latest likask/mofem-intermidiate:latest
# Install other modules ...
#Jupyter
docker build -t likask/mofem-spack-jupyter -f Dockerfile-spack-jupyter empty
docker tag likask/mofem-spack-jupyter:latest likask/mofem-spack-jupyter:$VERSION
docker tag likask/mofem-spack-jupyter:latest likask/mofem-intermidiate:latest
# Labs indentation
#dodocker build -t likask/mofem-spack-jupyter-labs-indentation:VERSION-new -f Dockerfile-spack-jupyter-labs-indentation .
# Hub
docker build -t likask/mofem-spack-jupyterhub -f Dockerfile-spack-jupyterhub jupyter
docker tag likask/mofem-spack-jupyterhub:latest likask/mofem-spack-jupyterhub:$VERSION
docker tag likask/mofem-spack-jupyterhub:latest likask/mofem-intermidiate:latest
# Labs indentation
#docker build -t likask/mofem-spack-jupyterhub-labs-indentation:VERSION-new -f Dockerfile-spack-jupyterhub-labs-indentation .
# Volume
#docker build -t likask/mofem-spack-build -f Dockerfile-spack-volume empty
#docker tag likask/mofem-spack-build:latest likask/mofem-spack-build:$VERSION