Skip to content

Commit

Permalink
scala agent vm fix for ,aster (#624)
Browse files Browse the repository at this point in the history
  • Loading branch information
clemensutschig committed Jul 9, 2021
1 parent fbab798 commit 22831ce
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
- ds-rshiny not able to deploy in OCP 4 ([#609](https://github.com/opendevstack/ods-quickstarters/issues/609))
- fixed mixed line endings on multiple files ([#618](https://github.com/opendevstack/ods-quickstarters/issues/618))
- fix dead sbt rpm bintray repo ([#622](https://github.com/opendevstack/ods-quickstarters/issues/622))
- openjdk 11 does not recognize VM setting ([#623](https://github.com/opendevstack/ods-quickstarters/issues/623))

### Removed

Expand Down
4 changes: 4 additions & 0 deletions common/jenkins-agents/scala/docker/Dockerfile.rhel7
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ RUN yum install -y java-11-openjdk-devel && \
javac -version
ENV JAVA_HOME=/usr/lib/jvm/jre

# Container support is now integrated in Java 11, the +UseCGroupMemoryLimitForHeap option has been pruned
ENV JAVA_TOOL_OPTIONS="-XX:+UnlockExperimentalVMOptions -Dsun.zip.disableMemoryMapping=true"


# Install sbt
ENV SBT_VERSION=1.5.4
ENV SBT_CREDENTIALS="$HOME/.sbt/.credentials"
Expand Down
3 changes: 3 additions & 0 deletions common/jenkins-agents/scala/docker/Dockerfile.ubi8
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ RUN yum install -y --enablerepo centos-appstream java-11-openjdk-devel && \
javac -version
ENV JAVA_HOME=/usr/lib/jvm/jre

# Container support is now integrated in Java 11, the +UseCGroupMemoryLimitForHeap option has been pruned
ENV JAVA_TOOL_OPTIONS="-XX:+UnlockExperimentalVMOptions -Dsun.zip.disableMemoryMapping=true"

# Install sbt
ENV SBT_VERSION=1.5.4
ENV SBT_CREDENTIALS="$HOME/.sbt/.credentials"
Expand Down

0 comments on commit 22831ce

Please sign in to comment.