Skip to content

Instantly share code, notes, and snippets.

@mariogarcia
Forked from melix/Dockerfile
Last active August 29, 2015 14:10
Show Gist options
  • Save mariogarcia/cd655105b3dbe979ae50 to your computer and use it in GitHub Desktop.
Save mariogarcia/cd655105b3dbe979ae50 to your computer and use it in GitHub Desktop.
################################################
# 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