Open
Description
I tried compiling vQFX but it failed. The problem seems to be while identifying the VR_NAME
variable
In the output below we see it fail because it can't create the tag ERROR: invalid tag "vrnetlab/vr-:20.2R1.10": invalid reference format
My files are vqfx-20.2R1.10-re-qemu.qcow2
and vqfx-20.2R1-2019010209-pfe-qemu.qcow
.
When I ran the docker command with the image name hard coded and it compiled without any problem
make
output:
ls: cannot access '*-re-*.vmdk': No such file or directory
Makefile:23: warning: overriding recipe for target 'docker-pre-build'
../makefile.include:23: warning: ignoring old recipe for target 'docker-pre-build'
Makefile:30: warning: overriding recipe for target 'docker-build-common'
../makefile.include:29: warning: ignoring old recipe for target 'docker-build-common'
for IMAGE in vqfx-20.2R1.10-re-qemu.qcow2; do \
echo "Making $IMAGE"; \
make IMAGE=$IMAGE docker-build; \
make IMAGE=$IMAGE docker-clean-build; \
done
Making vqfx-20.2R1.10-re-qemu.qcow2
make[1]: Entering directory '/home/samuelbarata/vrnetlab/vqfx'
ls: cannot access '*-re-*.vmdk': No such file or directory
Makefile:23: warning: overriding recipe for target 'docker-pre-build'
../makefile.include:23: warning: ignoring old recipe for target 'docker-pre-build'
Makefile:30: warning: overriding recipe for target 'docker-build-common'
../makefile.include:29: warning: ignoring old recipe for target 'docker-build-common'
--> Cleaning docker build context
rm -f docker/*.qcow2* docker/*.tgz* docker/*.vmdk* docker/*.iso docker/*.xml docker/*.bin
rm -f docker/healthcheck.py docker/vrnetlab.py
echo "pfe vqfx-20.2R1-2019010209-pfe-qemu.qcow"
pfe vqfx-20.2R1-2019010209-pfe-qemu.qcow
cp vqfx*-pfe*.qcow* docker/
echo "image vqfx-20.2R1.10-re-qemu.qcow2"
image vqfx-20.2R1.10-re-qemu.qcow2
echo "version 20.2R1.10"
version 20.2R1.10
Building docker image using vqfx-20.2R1.10-re-qemu.qcow2 as vrnetlab/vr-:20.2R1.10
cp ../common/* docker/
make IMAGE=$IMAGE docker-build-image-copy
make[2]: Entering directory '/home/samuelbarata/vrnetlab/vqfx'
ls: cannot access '*-re-*.vmdk': No such file or directory
Makefile:23: warning: overriding recipe for target 'docker-pre-build'
../makefile.include:23: warning: ignoring old recipe for target 'docker-pre-build'
Makefile:30: warning: overriding recipe for target 'docker-build-common'
../makefile.include:29: warning: ignoring old recipe for target 'docker-build-common'
cp vqfx-20.2R1.10-re-qemu.qcow2* docker/
make[2]: Leaving directory '/home/samuelbarata/vrnetlab/vqfx'
(cd docker; docker build --build-arg http_proxy= --build-arg https_proxy= --build-arg RE_IMAGE=vqfx-20.2R1.10-re-qemu.qcow2 --build-arg PFE_IMAGE=vqfx-20.2R1-2019010209-pfe-qemu.qcow -t vrnetlab/vr-:20.2R1.10 .)
[+] Building 0.0s (0/0) docker:default
ERROR: invalid tag "vrnetlab/vr-:20.2R1.10": invalid reference format
make[1]: *** [Makefile:35: docker-build-common] Error 1
make[1]: Leaving directory '/home/samuelbarata/vrnetlab/vqfx'
make[1]: Entering directory '/home/samuelbarata/vrnetlab/vqfx'
ls: cannot access '*-re-*.vmdk': No such file or directory
Makefile:23: warning: overriding recipe for target 'docker-pre-build'
../makefile.include:23: warning: ignoring old recipe for target 'docker-pre-build'
Makefile:30: warning: overriding recipe for target 'docker-build-common'
../makefile.include:29: warning: ignoring old recipe for target 'docker-build-common'
--> Cleaning docker build context
rm -f docker/*.qcow2* docker/*.tgz* docker/*.vmdk* docker/*.iso docker/*.xml docker/*.bin
rm -f docker/healthcheck.py docker/vrnetlab.py
make[1]: Leaving directory '/home/samuelbarata/vrnetlab/vqfx'
Metadata
Metadata
Assignees
Labels
No labels