-
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add comments to dependencies for easier auditing
- Loading branch information
Showing
4 changed files
with
54 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,10 @@ | ||
RUN {% if version|int >= 11 -%} | ||
{% if os_family != "windows" -%} | ||
set -eux; \ | ||
&& echo Verifying install ... \ | ||
&& fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ | ||
{% else -%} | ||
echo Verifying install ... \ | ||
RUN {% if os_family != "windows" %}set -eux; \ | ||
{% else %}{% endif %}echo "Verifying install ..."; \ | ||
{% if os_family != "windows" and version|int >= 11 -%} | ||
fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; \ | ||
{% endif -%} | ||
{% if image_type == "jdk" -%} | ||
&& echo javac --version && javac --version \ | ||
echo javac {% if version|int >= 11 %}--{% else %}-{% endif %}version && javac {% if version|int >= 11 %}--{% else %}-{% endif %}version; \ | ||
{% endif -%} | ||
&& echo java --version && java --version \ | ||
{% else -%} | ||
{% if image_type == "jdk" -%} | ||
&& echo javac -version && javac -version \ | ||
{% endif -%} | ||
&& echo java -version && java -version \ | ||
{% endif -%} | ||
&& echo Complete. | ||
echo java {% if version|int >= 11 %}--{% else %}-{% endif %}version && java {% if version|int >= 11 %}--{% else %}-{% endif %}version; \ | ||
echo "Complete." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters