commit
8e8fec8d26
|
|
@ -95,7 +95,7 @@ RUN set -eux; \
|
||||||
rootfs/bin/busybox \
|
rootfs/bin/busybox \
|
||||||
rootfs/bin/getconf \
|
rootfs/bin/getconf \
|
||||||
/lib/"$(gcc -print-multiarch)"/libnss*.so.* \
|
/lib/"$(gcc -print-multiarch)"/libnss*.so.* \
|
||||||
# libpthread is part of glibc: http://stackoverflow.com/a/11210463/433558
|
# libpthread is part of glibc: https://stackoverflow.com/a/11210463/433558
|
||||||
/lib/"$(gcc -print-multiarch)"/libpthread*.so.* \
|
/lib/"$(gcc -print-multiarch)"/libpthread*.so.* \
|
||||||
; \
|
; \
|
||||||
while [ "$#" -gt 0 ]; do \
|
while [ "$#" -gt 0 ]; do \
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ WORKDIR /usr/src/busybox
|
||||||
RUN sed -i 's/^struct kconf_id \*$/static &/g' scripts/kconfig/zconf.hash.c_shipped
|
RUN sed -i 's/^struct kconf_id \*$/static &/g' scripts/kconfig/zconf.hash.c_shipped
|
||||||
|
|
||||||
# CONFIG_LAST_SUPPORTED_WCHAR: see https://github.com/docker-library/busybox/issues/13 (UTF-8 input)
|
# CONFIG_LAST_SUPPORTED_WCHAR: see https://github.com/docker-library/busybox/issues/13 (UTF-8 input)
|
||||||
# see http://wiki.musl-libc.org/wiki/Building_Busybox
|
# see https://wiki.musl-libc.org/wiki/Building_Busybox
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
\
|
\
|
||||||
setConfs=' \
|
setConfs=' \
|
||||||
|
|
|
||||||
|
|
@ -155,7 +155,7 @@ RUN set -eux; \
|
||||||
grep -q "^$confV\$" .config; \
|
grep -q "^$confV\$" .config; \
|
||||||
done;
|
done;
|
||||||
|
|
||||||
# http://www.finnie.org/2014/02/13/compiling-busybox-with-uclibc/
|
# https://www.finnie.org/2014/02/13/compiling-busybox-with-uclibc/
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
# force a particular GNU arch for "host-gmp" (otherwise it fails on some arches)
|
# force a particular GNU arch for "host-gmp" (otherwise it fails on some arches)
|
||||||
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
|
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue