docker-library / openjdk

Docker Official Image packaging for EA builds of OpenJDK from Oracle
http://openjdk.java.net
MIT License
1.14k stars 471 forks source link

Switch "generate-stackbrew-library.sh" from "switch" (gawk-ism) to if-else chain so it works in mawk #393

Closed tianon closed 4 years ago

tianon commented 4 years ago

Closes #391

This makes it possible to run the script in the environment of the non-slim Debian-based images directly.

Tested/verified using docker run --rm -v "$PWD":/test:ro -w /test openjdk:buster ./generate-stackbrew-library.sh.

tianon commented 4 years ago

(A lot of this is whitespace changes, so likely slightly easier to review via https://github.com/docker-library/openjdk/pull/393/files?w=1)

tnir commented 4 years ago

Thanks 🙇