Skip to content

Commit

Permalink
Fr release and AL2 supported versions update
Browse files Browse the repository at this point in the history
  • Loading branch information
elifaslan1 committed Mar 25, 2024
1 parent 1b504e9 commit c06a254
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/update-dockerfiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@ update_generic_linux() {

${SED} "s/${MAJOR_RELEASE}\.0\.[0-9]*,/${jdk_version},/g" README.md
${SED} "s/${MAJOR_RELEASE}\.0\.[0-9]*-al2/${jdk_version}-al2/g" README.md
if [ -d "./${MAJOR_RELEASE}/slim" ]; then
if [[ -f ./${MAJOR_RELEASE}/slim/al2/Dockerfile ]]; then
${SED} "s/ARG version=.*/ARG version=${jdk_version}.${jdk_build}-${corretto_version}/g" ./${MAJOR_RELEASE}/slim/al2/Dockerfile
fi
if [ -d "./${MAJOR_RELEASE}/slim" ]; then
${SED} "s/ARG version=.*/ARG version=${jdk_version}.${jdk_build}-${corretto_version}/g" ./${MAJOR_RELEASE}/slim/debian/Dockerfile
${SED} "s/ARG version=.*/ARG version=${jdk_version}.${jdk_build}.${corretto_version}/g" ./${MAJOR_RELEASE}/slim/alpine/Dockerfile
${SED} "s/${MAJOR_RELEASE}\.0\.[0-9]*-slim,/${jdk_version},/g" README.md
Expand Down

0 comments on commit c06a254

Please sign in to comment.