Reduce docker layers, rename the Dockerfile in prep for move to Ubuntu

This commit is contained in:
Pim van Pelt
2025-05-08 18:29:59 +02:00
parent 49b8df9709
commit e5889b22e2
2 changed files with 11 additions and 13 deletions

View File

@ -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
```