Skip to content

Commit

Permalink
chore(dockerfile): use openjdk:8 instead of rolling our own
Browse files Browse the repository at this point in the history
  • Loading branch information
plumpy committed Feb 19, 2020
1 parent 31f3f85 commit d291761
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Dockerfile.compile
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
FROM ubuntu:eoan
FROM openjdk:8
MAINTAINER [email protected]

RUN apt-get update \
&& apt-get -y upgrade \
&& apt-get install -y \
git
openjdk-8-jdk-headless \
&& apt-get clean

ENV GRADLE_USER_HOME /workspace/.gradle
ENV GRADLE_OPTS -Xmx2048m
CMD ./gradlew build --no-daemon -PskipTests

0 comments on commit d291761

Please sign in to comment.