set nproc for openssl make

This commit is contained in:
Fijxu 2025-09-06 15:59:05 -04:00
parent 9ddee6304d
commit 539ae2d1f6
No known key found for this signature in database
GPG Key ID: 32C1DDF333EDA6A4
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ RUN curl -Ls "https://github.com/openssl/openssl/releases/download/openssl-${OPE
RUN echo "c53a47e5e441c930c3928cf7bf6fb00e5d129b630e0aa873b08258656e7345ec openssl-${OPENSSL_VERSION}.tar.gz" | sha256sum -c
RUN tar -xzvf openssl-${OPENSSL_VERSION}.tar.gz
RUN cd openssl-${OPENSSL_VERSION} && ./Configure --openssldir=/etc/ssl && make -j
RUN cd openssl-${OPENSSL_VERSION} && ./Configure --openssldir=/etc/ssl && make -j$(nproc)
FROM dependabot-crystal AS builder

View File

@ -16,7 +16,7 @@ RUN curl -Ls "https://github.com/openssl/openssl/releases/download/openssl-${OPE
RUN echo "c53a47e5e441c930c3928cf7bf6fb00e5d129b630e0aa873b08258656e7345ec openssl-${OPENSSL_VERSION}.tar.gz" | sha256sum -c
RUN tar -xzvf openssl-${OPENSSL_VERSION}.tar.gz
RUN cd openssl-${OPENSSL_VERSION} && ./Configure --openssldir=/etc/ssl && make -j
RUN cd openssl-${OPENSSL_VERSION} && ./Configure --openssldir=/etc/ssl && make -j$(nproc)
FROM dependabot-alpine AS builder
RUN apk add --no-cache 'crystal=1.14.0-r0' shards sqlite-static yaml-static yaml-dev libxml2-static \