Skip to content

Commit 73e23d8

Browse files
limit threads and jobs to 1 to avoid OOM (exit 9)
1 parent 6a2994e commit 73e23d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
FROM swift:6.1.1-jammy as swift-format-builder
22
ADD . /toolbox
33
WORKDIR /toolbox
4-
RUN swift build -c release --static-swift-stdlib
4+
RUN swift build -v -j 1 -c release --static-swift-stdlib -Xswiftc -num-threads -Xswiftc 1

0 commit comments

Comments
 (0)