for df in Dockerfile*; do sudo docker build -t "ctf-tools-${df,,}" -f $df .; done
The Dockerfiles for Arch Linux, Fedora, and Ubuntu Artful are not working. See details below:
Arch Linux:
Step 1/29 : FROM base/archlinux
Trying to pull repository docker.io/base/archlinux ...
Trying to pull repository registry.fedoraproject.org/base/archlinux ...
Trying to pull repository quay.io/base/archlinux ...
Trying to pull repository registry.access.redhat.com/base/archlinux ...
Trying to pull repository registry.centos.org/base/archlinux ...
Trying to pull repository docker.io/base/archlinux ...
manifest for docker.io/base/archlinux:latest not found
Ubuntu Artful:
Step 1/22 : FROM ubuntu:artful
---> e211a66937c6
Step 2/22 : COPY .docker/apt-get-install /usr/local/bin/apt-get-install
---> Using cache
---> 35929049c268
Step 3/22 : RUN chmod +x /usr/local/bin/apt-get-install
---> Using cache
---> 6846ad88f6d9
Step 4/22 : RUN apt-get-install build-essential libtool g++ gcc texinfo curl wget automake autoconf python python-dev git subversion unzip virtualenvwrapper sudo git virtualenvwrapper
---> Running in 593beb27edac
Ign:1 http://security.ubuntu.com/ubuntu artful-security InRelease
Err:2 http://security.ubuntu.com/ubuntu artful-security Release
404 Not Found [IP: 91.189.88.149 80]
Ign:3 http://archive.ubuntu.com/ubuntu artful InRelease
Ign:4 http://archive.ubuntu.com/ubuntu artful-updates InRelease
Ign:5 http://archive.ubuntu.com/ubuntu artful-backports InRelease
Err:6 http://archive.ubuntu.com/ubuntu artful Release
404 Not Found [IP: 91.189.91.23 80]
Err:7 http://archive.ubuntu.com/ubuntu artful-updates Release
404 Not Found [IP: 91.189.91.23 80]
Err:8 http://archive.ubuntu.com/ubuntu artful-backports Release
404 Not Found [IP: 91.189.91.23 80]
Reading package lists...
E: The repository 'http://security.ubuntu.com/ubuntu artful-security Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu artful Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu artful-updates Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu artful-backports Release' does not have a Release file.
The command '/bin/sh -c apt-get-install build-essential libtool g++ gcc texinfo curl wget automake autoconf python python-dev git subversion unzip virtualenvwrapper sudo git virtualenvwrapper' returned a non-zero code: 100
Fedora:
[...]
Step 17/21 : RUN bin/manage-tools -s setup
---> Running in 3cc4dba74129
Last metadata expiration check: 0:01:53 ago on Mon Jun 24 09:52:08 2019.
Package gcc-9.1.1-1.fc30.x86_64 is already installed.
Package gcc-c++-9.1.1-1.fc30.x86_64 is already installed.
Package curl-7.64.0-7.fc30.x86_64 is already installed.
Package python-unversioned-command-2.7.16-2.fc30.noarch is already installed.
Package git-2.21.0-1.fc30.x86_64 is already installed.
Package unzip-6.0-43.fc30.x86_64 is already installed.
No match for argument: python-virtualenvwrapper
Package redhat-rpm-config-128-1.fc30.noarch is already installed.
Error: Unable to find a match
The command '/bin/sh -c bin/manage-tools -s setup' returned a non-zero code: 1
I just tested all Dockerfiles;
The Dockerfiles for Arch Linux, Fedora, and Ubuntu Artful are not working. See details below:
Arch Linux:
Ubuntu Artful:
Fedora:
Best Martin