Migrated to Ubuntu:18.10 and Java installation via SDKMan. Fixes gh-754

This commit is contained in:
Marcin Grzejszczak
2018-10-19 16:14:12 +02:00
parent 1ccb884cf8
commit 34c2ed0330
11 changed files with 84 additions and 5 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/bash
# A quick wrapper to source the gvm env and run a command
# This is used to run sdkman in Dockerfile RUN commands
# since the RUN commands does not use interactive shells
[[ -s "/root/.sdkman/bin/sdkman-init.sh" ]] && source "/root/.sdkman/bin/sdkman-init.sh" && exec "$@"

View File

@@ -0,0 +1,7 @@
#!/bin/bash
# A quick wrapper to source the gvm env and run it
# This is used to run gvm in Dockerfile RUN commands
# since the RUN commands does not use interactive shells
[[ -s "/root/.sdkman/bin/sdkman-init.sh" ]] && source "/root/.sdkman/bin/sdkman-init.sh" && sdk $@