1
2# build image (change xxx to a random string to rebuild the Gmsh lib)
3
4docker build -f Dockerfile.ubuntu20.04 -t onelab/ubuntu20.04 --build-arg REBUILD_GMSH=xxx .
5docker build -f Dockerfile.debian.stretch.64bit -t onelab/debian.stretch.64bit --build-arg REBUILD_GMSH=xxx .
6
7# push image to docker-hub
8
9docker login
10docker push onelab/ubuntu20.04
11docker push onelab/debian.stretch.64bit
12
13# run something
14
15docker run onelab/ubuntu20.04 ls -al /'
16docker run -it onelab/ubuntu20.04 bash
17docker run -it onelab/debian.stretch.64bit bash
18