Skip to content

Commit

Permalink
Merge pull request #44 from Nancy-Chauhan/docker-optimisation
Browse files Browse the repository at this point in the history
WIP : Fixes Issue #29 Add resource utilization restrictions to Docker stuff
  • Loading branch information
oleg-nenashev authored Jan 2, 2019
2 parents b53704e + 5587656 commit b8071d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ RUN mkdir -p ${LOCAL_PIPELINE_LIBRARY_PATH}

VOLUME /var/jenkins_home/pipeline-dev
VOLUME /var/jenkins_home/imported_secrets
ENV JAVA_OPTS="-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:MaxRAMFraction=2 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -XX:+ExitOnOutOfMemoryError -XX:+PrintFlagsFinal"
EXPOSE 5005

COPY jenkins2.sh /usr/local/bin/jenkins2.sh
Expand Down

0 comments on commit b8071d5

Please sign in to comment.