FROM alpine:3.10 as build ARG gradle_version=5.2.1 RUN apk add --update --no-cache wget figlet unzip maven npm openjdk8 git openssh bash ansible \ && wget https://services.gradle.org/distributions/gradle-${gradle_version}-bin.zip -q -P /tmp \ && unzip -d /opt/gradle /tmp/gradle-${gradle_version}-bin.zip \ && export GRADLE_HOME=/opt/gradle/gradle-${gradle_version} \ && export PATH=${GRADLE_HOME}/bin:${PATH} \ && gradle -v \ && mkdir /root/.ssh && chmod 700 /root/.ssh