Skip to content

Commit

Permalink
Use one thread to compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Impa10r committed Feb 6, 2025
1 parent 9690844 commit db8c78d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ WORKDIR /app

COPY . .

RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} make -j2 install-lnd && \
RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} make -j1 install-lnd && \
git clone https://github.com/ElementsProject/peerswap.git && \
cd peerswap && \
git checkout $COMMIT && \
make -j$(nproc) lnd-release
make -j1 lnd-release

FROM debian:buster-slim

Expand Down

0 comments on commit db8c78d

Please sign in to comment.