Files
spring-cloud-contract/docker/spring-cloud-contract-docker/sdkman/sdkman-wrapper.sh

7 lines
273 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 "/root/.sdkman/bin/sdkman-init.sh" ]] && source "/root/.sdkman/bin/sdkman-init.sh" && sdk $@