Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Don't omit Xms Java opt #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile.new
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM jelastic/jetty:9.4.49-openjdk-1.8.0_352

USER root

ENV JAVA_OPTS="-Xmx2G"
ENV JAVA_OPTS="-Xmx2G -Xms1G"

ENV CONTAINER_HTTP_PORT="8088"

Expand All @@ -12,4 +12,4 @@ EXPOSE 8088

COPY ps-publish/ /ps-publish

ENTRYPOINT ["/ps-publish/bin/hydra-ingest"]
ENTRYPOINT ["/ps-publish/bin/hydra-ingest"]
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ lazy val dockerSettings = Seq(
from("java")
maintainer("Alex Silva <[email protected]>")
user("root")
env("JAVA_OPTS", "-Xmx2G")
env("JAVA_OPTS", "-Xmx2G -Xms256")
runRaw("mkdir -p /etc/hydra")
run("mkdir", "-p", "/var/log/hydra")
expose(8088)
Expand Down
Loading