-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build the Docker container from the instructions #1476
Comments
Looking at.. Lines 63 to 65 in f472ae7
..you probably need --build-arg VERSION="$(python -m setuptools_scm)" in your docker build command. If it works, please add it to the README.
|
Okay, that was pointing me in the right direction. Maybe it is my old Ubuntu 20.04 or my specific Python set-up. This worked for me: python3 -m venv .venv
. .venv/bin/activate
pip install --upgrade pip setuptools setuptools_scm
docker build --target labgrid-coordinator --build-arg VERSION="$(python -m setuptools_scm)" -t nexus3.dev.ifm:18443/labgrid-coordinator:24.0 -f dockerfiles/Dockerfile . If the virtualenv is fine for you I'll create an MR for the Readme. Without the pip3 install --upgrade setuptools setuptools_scm
python3 -m setuptools_scm
/usr/bin/python3: No module named setuptools_scm When I just install
|
I guess upgrading these dependencies inside the virtualenv is the only way. Note that |
What I did:
This is the error I do receive:
I am not sure if this is related to: pypa/setuptools-scm#1011
The text was updated successfully, but these errors were encountered: