Migrated to Ubuntu:18.10 and Java installation via SDKMan. Fixes gh-754
This commit is contained in:
7
docker/spring-cloud-contract-docker/sdkman/sdkman-exec.sh
Executable file
7
docker/spring-cloud-contract-docker/sdkman/sdkman-exec.sh
Executable 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 "$@"
|
||||
7
docker/spring-cloud-contract-docker/sdkman/sdkman-wrapper.sh
Executable file
7
docker/spring-cloud-contract-docker/sdkman/sdkman-wrapper.sh
Executable 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 $@
|
||||
Reference in New Issue
Block a user