GNS3 Docker Images
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build 363B

1234567891011121314151617
  1. #!/bin/sh
  2. # create GNS3 cEOS image from Arista image
  3. if [ $# -ne 1 ]; then
  4. echo "usage: $(basename "$0") <cEOS version>" >&2
  5. exit 1
  6. fi
  7. version="$1"
  8. case $version in
  9. 4.20.*) build_dir=4.20 ;;
  10. *) build_dir=4.21+ ;;
  11. esac
  12. docker rmi ceosimage:GNS3 > /dev/null 2>&1
  13. docker build --force-rm --build-arg ceos_version="$version" --tag ceosimage:GNS3 "$build_dir"