Files
spring-cloud-contract/docker/spring-cloud-contract-docker/sdkman/sdkman-wrapper.sh
Bastian Doetsch 9b147dd991 fixes #1639: run with unprivileged user and bump java version to 8.0.292.hs (#1694)
* run with unprivileged user and bump java version to 8.0.292.hs

* revert to gradle 6.4
2021-08-10 11:11:35 +02:00

8 lines
282 B
Bash
Executable File

#!/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 "/home/scc/.sdkman/bin/sdkman-init.sh" ]] && source "/home/scc/.sdkman/bin/sdkman-init.sh" && sdk $@