mirror of
https://github.com/anchore/syft.git
synced 2025-11-18 17:03:17 +01:00
Pin gradle builder container image
Signed-off-by: Dan Luhring <dan.luhring@anchore.com>
This commit is contained in:
parent
091fd1f0b0
commit
65e4e17590
@ -4,7 +4,7 @@ set -uxe
|
||||
# note: this can be easily done in a 1-liner, however circle CI does NOT allow volume mounts from the host in docker executors (since they are on remote hosts, where the host files are inaccessible)
|
||||
|
||||
PKGSDIR=$1
|
||||
CTRID=$(docker create -u "$(id -u):$(id -g)" -v /example-java-app -w /example-java-app gradle:jdk gradle build)
|
||||
CTRID=$(docker create -u "$(id -u):$(id -g)" -v /example-java-app -w /example-java-app gradle:6.8.3-jdk gradle build)
|
||||
|
||||
function cleanup() {
|
||||
docker rm "${CTRID}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user