Image for bitbucket pipelins based on openjdk8 including awscli and gradle
6.7K
FROM openjdk:8-jdk-alpine
# Install core prerequisites
RUN apk add zip git wget jq python
# Install awscli
RUN wget "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" \
&& unzip awscli-bundle.zip \
&& rm awscli-bundle.zip
RUN ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws
RUN rm -rf awscli-bundle
#install Gradle
RUN wget -q https://services.gradle.org/distributions/gradle-5.2.1-bin.zip \
&& unzip gradle-5.2.1-bin.zip -d /opt \
&& rm gradle-5.2.1-bin.zip
# Set Gradle in the environment variables
ENV GRADLE_HOME /opt/gradle-5.2.1
ENV PATH $PATH:/opt/gradle-5.2.1/bin:~/bin
Content type
Image
Digest
Size
195.5 MB
Last updated
over 7 years ago
docker pull sanderagricola/bitbucket-java-awscli