mise a jour
This commit is contained in:
parent
5e6759dfd2
commit
29318fe9d5
1 changed files with 23 additions and 0 deletions
23
Dockerfiles/forContainerNet/automatic_images_creation.sh
Executable file
23
Dockerfiles/forContainerNet/automatic_images_creation.sh
Executable file
|
@ -0,0 +1,23 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# This script intend to delete existing images (if exists) and recreate them all
|
||||||
|
# This script must be launch in root mode
|
||||||
|
# This script must be launched from the 'forContainerNet' folder
|
||||||
|
# This script must be launched by being sure there isn't any running container using the images below (exit from topology if not yet done)
|
||||||
|
|
||||||
|
docker rmi config:topo
|
||||||
|
docker rmi server:topo
|
||||||
|
docker rmi gateway:topo
|
||||||
|
docker rmi device:topo
|
||||||
|
|
||||||
|
cd bootserver
|
||||||
|
docker build -t config:topo .
|
||||||
|
|
||||||
|
cd ../server
|
||||||
|
docker build -t server:topo .
|
||||||
|
|
||||||
|
cd ../gateway
|
||||||
|
docker build -t gateway:topo .
|
||||||
|
|
||||||
|
cd ../device
|
||||||
|
docker build -t device:topo .
|
Loading…
Reference in a new issue