v0.14.0
/mofem_install/jupyter/lukasz/mofem_install/mofem-cephas/BuildDockerStack.sh
Go to the documentation of this file.
1 #!/bin/bash
2 
3 mkdir -p empty
4 
5 export VERSION=Workshop2023
6 
7 # Create environment
8 docker build -t likask/mofem-spack-env -f Dockerfile-spack-env empty/
9 docker tag likask/mofem-spack-env:latest likask/mofem-spack-env:$VERSION
10 
11 #Build core and users modules
12 docker build -t likask/mofem-spack-mofem -f Dockerfile-spack-mofem empty/
13 docker tag likask/mofem-spack-mofem:latest likask/mofem-spack-mofem:$VERSION
14 docker tag likask/mofem-spack-mofem:latest likask/mofem-intermidiate:latest
15 
16 #Install softmech module
17 #docker build -t likask/mofem-spack-softmech -f Dockerfile-spack-softmech empty/
18 #docker tag likask/mofem-spack-softmech:latest likask/mofem-spack-softmech:$VERSION
19 #docker tag likask/mofem-spack-softmech:latest likask/mofem-intermidiate:latest
20 
21 # Install other modules ...
22 
23 #Jupyter
24 docker build -t likask/mofem-spack-jupyter -f Dockerfile-spack-jupyter empty
25 docker tag likask/mofem-spack-jupyter:latest likask/mofem-spack-jupyter:$VERSION
26 docker tag likask/mofem-spack-jupyter:latest likask/mofem-intermidiate:latest
27 
28 # Labs indentation
29 #dodocker build -t likask/mofem-spack-jupyter-labs-indentation:VERSION-new -f Dockerfile-spack-jupyter-labs-indentation .
30 
31 # Hub
32 docker build -t likask/mofem-spack-jupyterhub -f Dockerfile-spack-jupyterhub jupyter
33 docker tag likask/mofem-spack-jupyterhub:latest likask/mofem-spack-jupyterhub:$VERSION
34 docker tag likask/mofem-spack-jupyterhub:latest likask/mofem-intermidiate:latest
35 
36 # Labs indentation
37 #docker build -t likask/mofem-spack-jupyterhub-labs-indentation:VERSION-new -f Dockerfile-spack-jupyterhub-labs-indentation .
38 
39 # Volume
40 #docker build -t likask/mofem-spack-build -f Dockerfile-spack-volume empty
41 #docker tag likask/mofem-spack-build:latest likask/mofem-spack-build:$VERSION
42 
43 
44