Newer
Older
docker / gradle / Dockerfile
Mark on 27 Apr 2016 505 bytes Initial commit.
FROM java8

ENV GRADLE_VERSION=2.11

# Gradle requires bash, and libstdc++ (for native-platform querying).

# Download, unzip, and link the gradle script into /usr/bin.

RUN apk --no-cache add bash \
	&& apk --no-cache add libstdc++ \
	&& cd /usr/local \
	&& wget https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip \
	&&	unzip gradle-${GRADLE_VERSION}-bin.zip \
	&& ln -s /usr/local/gradle-${GRADLE_VERSION}/bin/gradle /usr/bin/gradle \
	&& rm -rf gradle-${GRADLE_VERSION}-bin.zip