diff options
| author | saturneric <[email protected]> | 2025-11-02 10:26:45 +0000 |
|---|---|---|
| committer | saturneric <[email protected]> | 2025-11-02 10:26:45 +0000 |
| commit | 579268ae287abbba2bc66b86567f0fd817898fb0 (patch) | |
| tree | 3454939ea17a052ae421391e6b75b03f9bec51c3 | |
| parent | refactor(docker): improve build and runtime layers (diff) | |
| download | cgit-579268ae287abbba2bc66b86567f0fd817898fb0.tar.gz cgit-579268ae287abbba2bc66b86567f0fd817898fb0.zip | |
perf(docker): parallelize build with `make -j`
* Enable multi-core compilation to reduce build times during Docker image
creation.
* Improves efficiency, especially on systems with multiple CPUs.
| -rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ RUN apk --no-cache add libc-dev git gcc make \ openssl-dev libzip lua5.4-dev zlib-dev \ musl-libintl gettext-static -RUN make NO_REGEX=NeedsStartEnd LUA_PKGCONFIG=lua5.4 install +RUN make NO_REGEX=NeedsStartEnd LUA_PKGCONFIG=lua5.4 -j$(nproc) install FROM alpine:latest AS runtime |
