Skip to content

Commit 67dbc49

Browse files
authored
Bump and pin the base layers, making them uniform across java images (#333)
1 parent 01e3529 commit 67dbc49

3 files changed

Lines changed: 87 additions & 86 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM gradle:9.1.0-jdk25 AS build
1+
FROM gradle:9.5.0-jdk25@sha256:03305b464e024b29cfaad1c4a41fed61d06d15453176d2180f65bd4358b789a6 AS build
22

33
WORKDIR /app
44
COPY --chown=gradle:gradle . /app
55
RUN gradle -i --stacktrace clean build shadowJar
66

7-
FROM eclipse-temurin:25
7+
FROM eclipse-temurin:25.0.3_9-jdk@sha256:e23592541431eaeef5c13c84c21db71f97cdca0e70181ea6222ec9bccac24f6c
88

99
WORKDIR /opt/analyzer
1010
COPY bin/run.sh bin/run.sh

bin/run-tests.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
exit_code=0
1515

1616
# Iterate over all test directories
17-
for test_dir in $(find tests -name expected_analysis.json | rev | cut -d '/' -f 2- | rev); do
17+
for file in $(find tests -name expected_analysis.json); do
18+
test_dir="${file%/expected_analysis.json}"
1819
test_dir_path=$(realpath "${test_dir}")
1920
test_slug=$(echo "${test_dir}" | awk -F/ '{ print $2 }')
2021

@@ -30,4 +31,4 @@ for test_dir in $(find tests -name expected_analysis.json | rev | cut -d '/' -f
3031
done
3132
done
3233

33-
exit ${exit_code}
34+
exit ${exit_code}

gradlew.bat

Lines changed: 82 additions & 82 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)