This repository was archived by the owner on Sep 1, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +17
-4
lines changed Expand file tree Collapse file tree 4 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ FROM docker.pkg.github.com/github/codeql-learninglab-actions/codeql-learninglab-
159
159
COPY --chown=codeql:codeql config /home/codeql/config
160
160
WORKDIR /home/codeql/config
161
161
# Download, unzip and then delete the zip file in one step to reduce image size
162
- RUN wget --quiet <url-for-snapshot-zip> -O snapshot .zip && unzip -qq snapshot .zip && rm -rf snapshot .zip
162
+ RUN wget --quiet <url-for-snapshot-zip> -O database .zip && unzip -qq database .zip && rm -rf database .zip
163
163
` ` `
164
164
165
165
Note that we download, unzip and then delete the zip file of the snapshot
Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ FROM docker.pkg.github.com/github/codeql-learninglab-actions/codeql-learninglab-
4
4
COPY --chown=codeql:codeql config /home/codeql/config
5
5
WORKDIR /home/codeql/config
6
6
# 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
Original file line number Diff line number Diff line change 3
3
Copy this entire directory,
4
4
and replace the following:
5
5
6
- * TODO
6
+ * Replace ` <owner> ` , ` <repo> ` and ` <pkg> ` in the ` image ` property in
7
+ [ ` action.yml ` ] ( action.yml ) to reference the correct repository
8
+ where the docker image will be published,
9
+ and with a package name of your choice.
10
+ (For courses in this repository,
11
+ we use the convention of taking the course path,
12
+ and replacing slashes with dashes,
13
+ e.g. ` courses/cpp/ctf-segv ` becomes ` courses-cpp-ctf-segv ` )
14
+ * Replace the zip file URL in [ ` image/Dockerfile ` ] ( image/Dockerfile )
15
+ to point to the CodeQL database that will be used in your course.
16
+
17
+ After this,
18
+ update [ ` answers/ ` ] ( answers ) and [ ` image/config/ ` ] ( image/config )
19
+ to add your model answers and expected query results as appropriate.
Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ FROM docker.pkg.github.com/github/codeql-learninglab-actions/codeql-learninglab-
4
4
COPY --chown=codeql:codeql config /home/codeql/config
5
5
WORKDIR /home/codeql/config
6
6
# 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
You can’t perform that action at this time.
0 commit comments