File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -76,8 +76,8 @@ RUN CODEQL_VERSION=$(cat /tmp/codeql_version) && \
76
76
ENV PATH="${CODEQL_HOME}/codeql:${PATH}"
77
77
78
78
# Pre-compile our queries to save time later
79
- RUN codeql query compile --threads=0 ${CODEQL_HOME}/codeql-repo/* /ql/src/codeql-suites/*.qls
80
- RUN codeql query compile --threads=0 ${CODEQL_HOME}/codeql-go-repo/ql/src/codeql-suites/*.qls
79
+ RUN codeql query compile --threads=0 ${CODEQL_HOME}/codeql-repo/ruby /ql/src/codeql-suites/*.qls --additional-packs=.
80
+ RUN codeql query compile --threads=0 ${CODEQL_HOME}/codeql-go-repo/ql/src/codeql-suites/*.qls --additional-packs=.
81
81
82
82
ENV PYTHONIOENCODING=utf-8
83
83
ENTRYPOINT ["python3" , "/usr/local/startup_scripts/startup.py" ]
Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ def download_and_install_latest_codeql(self, github_version):
34
34
download_url = None
35
35
download_path = None
36
36
if os_name == 'posix' :
37
- download_url = f'https://github.com/github/codeql-cli-binaries /releases/download/{ github_version .title } /codeql-linux64.zip'
37
+ download_url = f'{ self . CODEQL_GITHUB_URL } /releases/download/{ github_version .title } /codeql-linux64.zip'
38
38
download_path = f'{ self .TEMP_DIR } /codeql_linux.zip'
39
39
elif os_name == 'nt' :
40
- download_url = f'https://github.com/github/codeql-cli-binaries /releases/download/{ github_version .title } /codeql-win64.zip'
40
+ download_url = f'{ self . CODEQL_GITHUB_URL } /releases/download/{ github_version .title } /codeql-win64.zip'
41
41
download_path = f'{ self .TEMP_DIR } /codeql_windows.zip'
42
42
else :
43
43
exit (self .ERROR_UNKNOWN_OS )
You can’t perform that action at this time.
0 commit comments