
# build image (change xxx to a random string to rebuild the Gmsh lib)

docker build -f Dockerfile.ubuntu20.04 -t onelab/ubuntu20.04 --build-arg REBUILD_GMSH=xxx .
docker build -f Dockerfile.debian.wheezy.64bit -t onelab/debian.wheezy.64bit --build-arg REBUILD_GMSH=xxx .
docker build -f Dockerfile.debian.wheezy.32bit -t onelab/debian.wheezy.32bit --build-arg REBUILD_GMSH=xxx .

# push image to docker-hub

docker login
docker push onelab/ubuntu20.04
docker push onelab/debian.wheezy.64bit
docker push onelab/debian.wheezy.32bit

# run something

docker run onelab/ubuntu20.04 ls -al /'
docker run -it onelab/ubuntu20.04 bash
docker run -it onelab/debian.wheezy.64bit bash
