Skip to content

Instantly share code, notes, and snippets.

@krisrice
Created March 15, 2017 16:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krisrice/8f1ba157f2759b1dc891e10f29604a66 to your computer and use it in GitHub Desktop.
Save krisrice/8f1ba157f2759b1dc891e10f29604a66 to your computer and use it in GitHub Desktop.
FROM ubuntu:latest
# Install Java.
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y software-properties-common && \
add-apt-repository ppa:webupd8team/java -y && \
apt-get update && \
echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \
apt-get install -y oracle-java8-installer && \
apt-get clean
RUN apt-get update
RUN apt-get -y install unzip
ADD sqlcl-* .
RUN unzip sqlcl*.zip
ENV PATH=sqlcl/bin:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment