Skip to content

Commit

Permalink
Merge pull request #119 from StatCan/ompp-ulimit
Browse files Browse the repository at this point in the history
feat(ompp-ubuntu): add ulimit soft limit
  • Loading branch information
Souheil-Yazji authored Dec 5, 2023
2 parents 92d6a63 + 5080ea6 commit 0f80cf4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ompp-run-ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Docker image to run openM++ models on latest Ubuntu LTS
# Docker image to run openM++ models on latest Ubuntu 22.04
#
# https://github.com/openmpp/docker/blob/master/ompp-run-ubuntu/
#
Expand Down Expand Up @@ -35,8 +35,10 @@ FROM ubuntu:22.04
# disable debconf terminal input
ARG DEBIAN_FRONTEND=noninteractive

# For OncoSim MPI inject to the default bashrc as non other exist, can change later
RUN echo "ulimit -S -s 65536" >> etc/bash.bashrc && \
# update base image, install dependencies, cleanup
RUN apt-get update && \
apt-get update && \
apt-get install -y \
apt-utils \
sqlite3 \
Expand Down

0 comments on commit 0f80cf4

Please sign in to comment.