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) && \
7676ENV PATH="${CODEQL_HOME}/codeql:${PATH}"
7777
7878# 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=.
8181
8282ENV PYTHONIOENCODING=utf-8
8383ENTRYPOINT ["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):
3434 download_url = None
3535 download_path = None
3636 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'
3838 download_path = f'{ self .TEMP_DIR } /codeql_linux.zip'
3939 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'
4141 download_path = f'{ self .TEMP_DIR } /codeql_windows.zip'
4242 else :
4343 exit (self .ERROR_UNKNOWN_OS )
You can’t perform that action at this time.
0 commit comments