Hi, I am trying to build the Docker Image as per the instructions in the gitlab readme
https://gitlab.com/voxl-public/system-image-build/voxl-build
On the step
docker build -t voxl-build -f ubuntu-xenial.Dockerfile .
I get the following error:
Collecting pip
Downloading https://files.pythonhosted.org/packages/f7/ce/e359cf283c0c0f2e0af7df8f16c8d79047aa1887a00a5b39b27d8afc49e2/pip-21.2.1.tar.gz (1.6MB)
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-1qzqBH/pip/setup.py", line 7
def read(rel_path: str) -> str:
^
SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-1qzqBH/pip/
You are using pip version 8.1.1, however version 21.2.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
The command '/bin/sh -c apt-get update && apt-get -y --quiet --no-install-recommends install gcc-4.8-multilib g++-4.8-multilib gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath bzip2 zip cpio bc make autoconf automake libtool wget curl sudo libxml-simple-perl doxygen qemu-user-static android-tools-fsutils debootstrap schroot vim less iputils-ping python python3.6 python-pip python-setuptools python-tk openssh-server && apt-get clean autoclean && pip install --upgrade pip && curl https://storage.googleapis.com/git-repo-downloads/repo-1 > /usr/bin/repo && chmod a+x /usr/bin/repo && echo "dash dash/sh boolean false" | debconf-set-selections && DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash' returned a non-zero code: 1
I have gotten this error in Ubuntu 20 and a clean install of Ubuntu 18
This is with a fresh pull from the repo