Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 <alex-silva@pluralsight.com>")
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