Skip to content

Commit

Permalink
exclude java17 tags from versions 3.3.x and 3.4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
vakarisbk committed Nov 6, 2023
1 parent 2772359 commit b236385
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions add-dockerfiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,18 @@ scala2.12-java11-python3-r-ubuntu
scala2.12-java11-python3-ubuntu
scala2.12-java11-r-ubuntu
scala2.12-java11-ubuntu
scala2.12-java17-python3-r-ubuntu
scala2.12-java17-python3-ubuntu
scala2.12-java17-r-ubuntu
scala2.12-java17-ubuntu
"

# java17 images were added in 3.5.0. We need to skip java17 for 3.3.x and 3.4.x
if ! echo $VERSION | grep -Eq "^3.3|^3.4"; then
TAGS+="
scala2.12-java17-python3-r-ubuntu
scala2.12-java17-python3-ubuntu
scala2.12-java17-r-ubuntu
scala2.12-java17-ubuntu
"
fi

for TAG in $TAGS; do
OPTS=""
if echo $TAG | grep -q "python"; then
Expand Down Expand Up @@ -66,4 +72,5 @@ for TAG in $TAGS; do
else
python3 tools/template.py $OPTS -f r-python.template > $VERSION/$TAG/Dockerfile
fi

done

0 comments on commit b236385

Please sign in to comment.