Created
March 13, 2017 20:04
-
-
Save ColinHarrington/5330c86c15878863fea9beb8d256f627 to your computer and use it in GitHub Desktop.
Dockerfile for recreating an issue with installing grails 2.5.5 https://github.com/grails/grails-core/issues/10011
This file contains hidden or 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
FROM openjdk:8 | |
RUN apt-get update && apt-get install -y --no-install-recommends zip unzip | |
RUN curl -s get.sdkman.io | bash | |
# Define commonly used JAVA_HOME variable | |
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64 | |
RUN set -x \ | |
&& echo "sdkman_auto_answer=true" > $SDKMAN_DIR/etc/config \ | |
&& echo "sdkman_auto_selfupdate=false" >> $SDKMAN_DIR/etc/config \ | |
&& echo "sdkman_insecure_ssl=false" >> $SDKMAN_DIR/etc/config | |
RUN yes | /bin/bash -c -l 'sdk install grails 2.5.5' | |
# Define default command. | |
CMD ["bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment