-
-
Save mariogarcia/cd655105b3dbe979ae50 to your computer and use it in GitHub Desktop.
This file contains 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
################################################ | |
# Dockerfile to run Groovy containers | |
# Based on Java 8 image | |
################################################ | |
FROM java:8u40-jdk | |
MAINTAINER Cédric Champeau | |
RUN apt-get update | |
RUN apt-get -y upgrade | |
RUN apt-get -y install unzip curl | |
# Install GVM | |
RUN curl -s get.gvmtool.net | bash | |
RUN ["/bin/bash", "-c", "source /root/.gvm/bin/gvm-init.sh"] | |
RUN echo "gvm_suggestive_selfupdate=false" >> /root/.gvm/etc/config | |
RUN ["/bin/bash", "-c", "-l", "gvm install groovy"] | |
# Fix path | |
ENV GROOVY_HOME /root/.gvm/groovy/current | |
ENV PATH $GROOVY_HOME/bin:$PATH | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment