forked from spinnaker/halyard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(java11): Remove Java 8 from the CI systems.
Halyard compiles to Java 11 as of spinnaker#1802.
- Loading branch information
Showing
4 changed files
with
4 additions
and
22 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
FROM ubuntu:bionic | ||
RUN apt-get update && apt-get install -y \ | ||
openjdk-8-jdk \ | ||
openjdk-11-jdk \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
LABEL maintainer="sig-platform@spinnaker.io" | ||
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64 | ||
ENV JDK_18 /usr/lib/jvm/java-8-openjdk-amd64 | ||
ENV GRADLE_USER_HOME /workspace/.gradle | ||
ENV GRADLE_OPTS -Xmx4g | ||
ARG VERSION | ||
# You can't use an ARG in a CMD (because it isn't available anymore when you run | ||
# the container) so we have to store it in an ENV. | ||
ENV VERSIONARG="-Pversion=$VERSION" | ||
CMD ./gradlew --no-daemon $VERSIONARG -PenableCrossCompilerPlugin=true halyard-web:installDist -x test | ||
CMD ./gradlew --no-daemon $VERSIONARG halyard-web:installDist -x test |