Skip to content

Instantly share code, notes, and snippets.

@KernelPanicAUS
Forked from melix/Dockerfile
Created November 10, 2016 09:06
Show Gist options
  • Select an option

  • Save KernelPanicAUS/a2ba49a2a06cbdafd68e593fe8718452 to your computer and use it in GitHub Desktop.

Select an option

Save KernelPanicAUS/a2ba49a2a06cbdafd68e593fe8718452 to your computer and use it in GitHub Desktop.
Dockerfile for Groovy
################################################
# Dockerfile to run Groovy containers
# Based on Java 8 image
################################################
FROM java:8u40-jdk
MAINTAINER Cédric Champeau
# 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