Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
exclude java17 tags from versions 3.3.x and 3.4.x
  • Loading branch information
vakarisbk committed Nov 6, 2023
commit b236385b9b413dda3c21bc0bb6608378d8a95b2e
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