Skip to content
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

Docker Build CodeQL : install script mission +x #78

Closed
burn1ngd0g opened this issue May 29, 2024 · 1 comment
Closed

Docker Build CodeQL : install script mission +x #78

burn1ngd0g opened this issue May 29, 2024 · 1 comment

Comments

@burn1ngd0g
Copy link

When trying to docker-compose build under linux:

`=> ERROR [12/12] RUN /SAST/sast/codeql/codeql-install.sh /SAST/sast/code 0.3s

[12/12] RUN /SAST/sast/codeql/codeql-install.sh /SAST/sast/codeql/codeql-versions-list.yaml:
0.267 /bin/sh: 1: /SAST/sast/codeql/codeql-install.sh: Permission denied


Dockerfile:27

25 |
26 | # codeql installation
27 | >>> RUN ${CODEQL_INTERFACE_DIR}/codeql-install.sh ${CODEQL_INTERFACE_DIR}/codeql-versions-list.yaml
`

codeql-install.sh is missing Executable bit so won't be run
running chmod +x SAST/sast/codeql/codeql-install.sh before fixes the issues, file should be comitted with the exec bit

keep on the good work!

@compaluca
Copy link
Contributor

Thanks for raising the issue. The problem should be solved.

We really need to put in place a pipeline to automatically test that the docker-compose builds properly to avoid this mistakes, issue #79 added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants