-
-
Notifications
You must be signed in to change notification settings - Fork 574
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
Dockerfile uses removed --reindex-licenses flag #3155
Comments
I would like to work on this. I've successfully built I plan to solve this issue as follows:
Does this sound good? |
Sounds reasonable to me. 👍 |
The newer way to reindex is the The The dockerfile can be modified to use this new script in place of Am I clear to do this? |
@abhi-kr-2100 re:
but there is no need to create a bash script for |
Note also that it would be useful to have a test step in the CI that tests the creation and minimal run of the Dockerfile to avoid any future regression. |
@pombredanne @s01ipsist I used I don't know much about CI, but if you could provide some guidance, I would like to work on that as well. Will this be accomplished by a test run of docker in the CI? |
Thanks... You can see https://github.com/nexB/scancode-toolkit/blob/a410f6ebb93a9b22343d7737897b61f3cd2a6ac3/azure-pipelines.yml for inspiration The steps should be IMHO:
|
@pombredanne I've added the following to the ################################################################################
# Tests building with docker
################################################################################
- job: build_with_docker
steps:
- task: Docker@2
displayName: Check that building using Docker succeeds
inputs:
command: 'build'
tags: |
'scancode-toolkit'
'scancode-toolkit:$(Build.BuildId)' I've never used Azure Pipelines, but according to what I could find on the internet, it's not possible to verify if an |
@abhi-kr-2100 I would prefer some explicit reference to a Dockerfile .... and I cannot verify this either short of running it, so this needs to be in the PR |
@pombredanne I've added an explicit reference to the Dockerfile, and a script to run |
Description
The Dockerfile uses the
--reindex-licenses
flaghttps://github.com/nexB/scancode-toolkit/blob/develop/Dockerfile#L42
which was recently removed
5361052#diff-fad3fa964c566642a9a64df45efd8c9daeb435e1c8791ac1f64d2881b299d753L165
in this PR
#2979
so the Docker image no longer builds.
How To Reproduce
Follow install instructions on
https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html#installation-via-docker
Result
System configuration
MacOS 13.0.1
The text was updated successfully, but these errors were encountered: