Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 78aa071

Browse files
committed
Use database.zip instead of snapshot.zip in Dockerfiles
1 parent 1a77cde commit 78aa071

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ FROM docker.pkg.github.com/github/codeql-learninglab-actions/codeql-learninglab-
155155
COPY --chown=codeql:codeql config /home/codeql/config
156156
WORKDIR /home/codeql/config
157157
# Download, unzip and then delete the zip file in one step to reduce image size
158-
RUN wget --quiet <url-for-snapshot-zip> -O snapshot.zip && unzip -qq snapshot.zip && rm -rf snapshot.zip
158+
RUN wget --quiet <url-for-snapshot-zip> -O database.zip && unzip -qq database.zip && rm -rf database.zip
159159
```
160160

161161
Note that we download, unzip and then delete the zip file of the snapshot

courses/cpp/ctf-segv/image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ FROM docker.pkg.github.com/github/codeql-learninglab-actions/codeql-learninglab-
44
COPY --chown=codeql:codeql config /home/codeql/config
55
WORKDIR /home/codeql/config
66
# Download, unzip and then delete the zip file in one step to reduce image size
7-
RUN wget --quiet https://downloads.lgtm.com/snapshots/cpp/GNU/glibc/bminor_glibc_cpp-srcVersion_333221862ecbebde60dd16e7ca17d26444e62f50-dist_odasa-lgtm-2019-04-08-af06f68-linux64.zip -O snapshot.zip && unzip -qq snapshot.zip && rm -rf snapshot.zip
7+
RUN wget --quiet https://downloads.lgtm.com/snapshots/cpp/GNU/glibc/bminor_glibc_cpp-srcVersion_333221862ecbebde60dd16e7ca17d26444e62f50-dist_odasa-lgtm-2019-04-08-af06f68-linux64.zip -O database.zip && unzip -qq database.zip && rm -rf database.zip

courses/template/image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ FROM docker.pkg.github.com/github/codeql-learninglab-actions/codeql-learninglab-
44
COPY --chown=codeql:codeql config /home/codeql/config
55
WORKDIR /home/codeql/config
66
# Download, unzip and then delete the zip file in one step to reduce image size
7-
RUN wget --quiet https://downloads.lgtm.com/snapshots/cpp/GNU/glibc/bminor_glibc_cpp-srcVersion_333221862ecbebde60dd16e7ca17d26444e62f50-dist_odasa-lgtm-2019-04-08-af06f68-linux64.zip -O snapshot.zip && unzip -qq snapshot.zip && rm -rf snapshot.zip
7+
RUN wget --quiet https://downloads.lgtm.com/snapshots/cpp/GNU/glibc/bminor_glibc_cpp-srcVersion_333221862ecbebde60dd16e7ca17d26444e62f50-dist_odasa-lgtm-2019-04-08-af06f68-linux64.zip -O database.zip && unzip -qq database.zip && rm -rf database.zip

0 commit comments

Comments
 (0)