Public Repository

Last pushed: a year ago
Short Description
Oracle JDK 8, Gradle 2.13, AWS CLI
Full Description

FROM ubuntu:16.04

Amazon CLI

RUN apt-get update && \
apt-get -y install curl zip python3 python3-pip jq software-properties-common python-software-properties && \
pip3 install --upgrade pip && \
pip3 install awscli awsebcli && \
apt-get clean

Oracle JDK 8

RUN echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections
RUN echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections

RUN add-apt-repository -y ppa:webupd8team/java && \
apt-get update && \
apt-get install -y --no-install-recommends oracle-java8-installer && \
apt-get clean
ENV JAVA_HOME /usr/lib/jvm/java-8-oracle

Gradle

ENV GRADLE_VERSION 2.13

WORKDIR /usr/bin
RUN curl -sLO https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip && \
unzip gradle-${GRADLE_VERSION}-all.zip && \
ln -s gradle-${GRADLE_VERSION} gradle && \
rm gradle-${GRADLE_VERSION}-all.zip

ENV GRADLE_HOME /usr/bin/gradle
ENV PATH $PATH:$GRADLE_HOME/bin

Postgres

RUN apt-get update && \
apt-get -y install postgresql-contrib postgresql && \
apt-get clean
RUN sed -i 's/peer/trust/' "$(find /etc/postgresql -name pg_hba.conf)"
RUN sed -i 's/md5/trust/' "$(find /etc/postgresql -name pg_hba.conf)"

Docker Pull Command
Owner
mscala

Comments (0)