Reduce docker layers, rename the Dockerfile in prep for move to Ubuntu
This commit is contained in:
@ -94,7 +94,7 @@ bind-mount `/etc/vpp/bootstrap.vpp`.
|
||||
```bash
|
||||
IMG=git.ipng.ch/ipng/vpp-containerlab
|
||||
TAG=latest
|
||||
docker build --no-cache --build-arg REPO=release -f docker/Dockerfile.bookworm -t $IMG docker/
|
||||
docker build --no-cache --build-arg REPO=release -f docker/Dockerfile -t $IMG docker/
|
||||
docker image tag $IMG $IMG:$TAG
|
||||
docker push $IMG
|
||||
docker push $IMG:$TAG
|
||||
@ -110,7 +110,7 @@ docker run --cap-add=NET_ADMIN --cap-add=SYS_NICE --cap-add=SYS_PTRACE \
|
||||
--device=/dev/net/tun:/dev/net/tun \
|
||||
--device=/dev/vhost-net:/dev/vhost-net \
|
||||
--privileged --name clab-pim \
|
||||
docker.io/pimvanpelt/vpp-containerlab:latest
|
||||
git.ipng.ch/ipng/vpp-containerlab:latest
|
||||
docker network connect clab-network clab-pim
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user