Skip to content

Commit

Permalink
add -j "$(nproc)"
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Dec 27, 2023
1 parent 69482fd commit 7c39f2c
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 @@ -105,9 +105,9 @@ RUN cd /src/nginx && \
make -j "$(nproc)" install && \
strip -s /usr/local/nginx/sbin/nginx && \
cd /src/lua-resty-core && \
make install PREFIX=/usr/local/nginx && \
make -j "$(nproc)" install PREFIX=/usr/local/nginx && \
cd /src/lua-resty-lrucache && \
make install PREFIX=/usr/local/nginx
make -j "$(nproc)" install PREFIX=/usr/local/nginx

FROM python:3.12.1-alpine3.19
COPY --from=build /usr/local/nginx /usr/local/nginx
Expand Down

0 comments on commit 7c39f2c

Please sign in to comment.