bell-sw / Liberica

Free and 100% open source Progressive Java Runtime for modern Java™ deployments supported by a leading OpenJDK contributor
https://bell-sw.com/pages/libericajdk/
GNU General Public License v2.0
318 stars 29 forks source link

Use heredoc in Dockerfile RUN instruction to improve readability #187

Open swivelmargarita opened 3 weeks ago

swivelmargarita commented 3 weeks ago

I believe using heredoc will improve readability and maintainability instead of adding '\' to the end and '&&' to start of the each command in RUN docker instruction. I modified a Dockerfile to get some feedback and recommendations.