Created
March 19, 2020 19:43
-
-
Save cengizhancaliskan/8c6bbea1eb10b69b531f815d25d14073 to your computer and use it in GitHub Desktop.
jdk gradle dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM openjdk:8-jdk-alpine | |
##ENV GRADLE_VERSION 6.2.2 | |
##ENV GRADLE_HOME /opt/gradle | |
##ENV PATH ${PATH}:${GRADLE_HOME}/bin | |
RUN apk update \ | |
&& apk add --no-cache curl bash | |
# Install gradle | |
##WORKDIR /opt | |
##RUN set -o errexit -o nounset \ | |
## && echo "Downloading Gradle" \ | |
## && wget --no-verbose --output-document=gradle.zip "https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip" \ | |
## && echo "Installing Gradle" \ | |
## && unzip gradle.zip && rm gradle.zip \ | |
## && mv "gradle-${GRADLE_VERSION}" "${GRADLE_HOME}/" \ | |
## && gradle --version | |
ADD ./ /app | |
WORKDIR /app | |
CMD ["./gradlew", "vertxRun", "--no-daemon"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment