Skip to content

Commit

Permalink
Move to JRE instead of JDK for container (#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgianos committed Nov 12, 2016
1 parent 8eceddd commit a4e4ae9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ buildscript {

plugins {
id "com.github.kt3k.coveralls" version "2.6.3"
id "nebula.netflixoss" version "3.5.1"
id "nebula.netflixoss" version "3.5.2"
id "nebula.optional-base" version "3.1.0"
id "nebula.provided-base" version "3.1.0"
id "org.ajoberstar.github-pages" version "1.6.0"
Expand Down
6 changes: 3 additions & 3 deletions genie-app/src/main/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from openjdk:8
from openjdk:8-jre
MAINTAINER NetflixOSS <netflixoss@netflix.com>
ARG JAR_NAME
ARG VERSION
EXPOSE 8080
VOLUME /tmp
ARG JAR_NAME
ARG VERSION
ADD ${JAR_NAME}-${VERSION}.jar /usr/local/bin/genie.jar
RUN sh -c "touch /usr/local/bin/genie.jar"
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/usr/local/bin/genie.jar"]

0 comments on commit a4e4ae9

Please sign in to comment.