Skip to content

Commit 70ce02a

Browse files
committed
Try ulimit flag to docker build?
1 parent 4d15d45 commit 70ce02a

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ pipeline {
751751
dir '.'
752752
label 'linux && emulation'
753753
args '--platform=linux/ppc64le --group-add=987 --group-add=980 --group-add=988 --entrypoint=\'\' -v /var/run/docker.sock:/var/run/docker.sock'
754-
additionalBuildArgs '--platform=linux/ppc64le --build-arg PUID=\$(id -u) --build-arg PGID=\$(id -g)'
754+
additionalBuildArgs '--platform=linux/ppc64le --ulimit stack=65536 --build-arg PUID=\$(id -u) --build-arg PGID=\$(id -g)'
755755
}
756756
}
757757
steps {

scripts/docker/static-builder/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ RUN addgroup -g ${PGID} jenkins && \
1111

1212
RUN apk update && apk add --no-cache opam build-base bzip2 git tar curl ca-certificates openssl m4 bash
1313

14-
# Unicode ocaml packages sometimes blow out the stack when compiling
15-
RUN ulimit -s unlimited
16-
1714
# Switch back to the normal user
1815
USER jenkins
1916

0 commit comments

Comments
 (0)