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
Use virtualenv in Docker container #260
Comments
aalexanderr
added a commit
to aalexanderr/scancode.io
that referenced
this issue
Feb 15, 2022
1. Run as non-elevated user by default 2. Install scancodeio in venv 3. Make it possible to set up UNAME/UID/GID on buildtime 4. Move scancodeio from /app to /opt to be more in-line with: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html 5. Set cache to /tmp as it is disposable after build 6. Upgrade pip to have less red in build log Resolves nexB#260 Resolves nexB#399 Signed-off-by: Alexander Mazuruk <a.mazuruk@samsung.com>
aalexanderr
added a commit
to aalexanderr/scancode.io
that referenced
this issue
Feb 15, 2022
1. Run as non-elevated user by default 2. Install scancodeio in venv 3. Make it possible to set up UNAME/UID/GID on buildtime 4. Move scancodeio from /app to /opt to be more in-line with: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html 5. Set cache to /tmp as it is disposable after build 6. Upgrade pip to have less red in build log Resolves nexB#260 Resolves nexB#399 Signed-off-by: Alexander Mazuruk <a.mazuruk@samsung.com>
aalexanderr
added a commit
to aalexanderr/scancode.io
that referenced
this issue
Jun 29, 2022
1. Run as non-elevated user by default 2. Install scancodeio in venv 3. Make it possible to set up UNAME/UID/GID on buildtime 4. Move scancodeio from /app to /opt to be more in-line with: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html 5. Set cache to /tmp as it is disposable after build 6. Upgrade pip to have less red in build log Resolves nexB#260 Resolves nexB#399 Signed-off-by: Alexander Mazuruk <a.mazuruk@samsung.com>
Implemented in #821 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using a virtualenv ensures that we know the exact packages of python versions made available to us. This is helps avoid surprise-ful behaviors.
This also needs to be done in scancodeIO
The text was updated successfully, but these errors were encountered: