From 7a675498ca577b53f29b54fdb9d5e20b3e495434 Mon Sep 17 00:00:00 2001 From: Brian Seymour Date: Fri, 21 Sep 2018 00:55:39 -0500 Subject: [PATCH] runner user --- docker/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index c8ad9d1..c8e54c1 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -8,3 +8,8 @@ RUN apt-get -y install python3 RUN apt-get -y install ruby RUN apt-get -y install nodejs RUN apt-get -y install golang + +RUN useradd runner + +RUN echo '@runner soft nproc 16' >> /etc/security/limits.conf +RUN echo '@runner hard nproc 16' >> /etc/security/limits.conf