We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b615e4 commit 694a79fCopy full SHA for 694a79f
1 file changed
Dockerfile
@@ -18,7 +18,7 @@ ARG LINUX_VERSION=master
18
ARG BUSYBOX_VERSION=master
19
ARG SYSLINUX_VERSION=6.04-pre1
20
ARG DEBIAN_FRONTEND=noninteractive
21
-ARG BUILD_JOBS=auto
+ARG BUILD_JOBS=
22
23
# Add metadata labels
24
LABEL maintainer="handbuilt-linux-project"
@@ -149,7 +149,11 @@ COPY busybox.config /build/busybox/.config
149
150
# Build and install BusyBox
151
WORKDIR /build/busybox
152
-RUN make oldconfig && \
+RUN if [ -f .config ]; then \
153
+ make olddefconfig; \
154
+ else \
155
+ make defconfig; \
156
+ fi && \
157
make -j"${BUILD_JOBS:-$(nproc)}" && \
158
make CONFIG_PREFIX=/build/initramfs install && \
159
strip /build/initramfs/bin/busybox
0 commit comments