We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--depth 1
1 parent 252d186 commit 983c3dbCopy full SHA for 983c3db
1 file changed
Dockerfile
@@ -63,9 +63,9 @@ RUN mkdir -p ${CODEQL_HOME} \
63
/opt/codeql
64
65
# get the latest codeql queries and record the HEAD
66
-RUN git clone https://github.com/github/codeql ${CODEQL_HOME}/codeql-repo && \
+RUN git clone --depth 1 https://github.com/github/codeql ${CODEQL_HOME}/codeql-repo && \
67
git --git-dir ${CODEQL_HOME}/codeql-repo/.git log --pretty=reference -1 > /opt/codeql/codeql-repo-last-commit
68
-RUN git clone https://github.com/github/codeql-go ${CODEQL_HOME}/codeql-go-repo && \
+RUN git clone --depth 1 https://github.com/github/codeql-go ${CODEQL_HOME}/codeql-go-repo && \
69
git --git-dir ${CODEQL_HOME}/codeql-go-repo/.git log --pretty=reference -1 > /opt/codeql/codeql-go-repo-last-commit
70
71
RUN CODEQL_VERSION=$(cat /tmp/codeql_version) && \
0 commit comments