mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-05-15 08:23:47 +00:00
Add toybox statically linked ls, sh, find etc so that it is possible to examine the archive eaily. Fix #749 Signed-off-by: Justin Cormack <justin.cormack@docker.com>
10 lines
298 B
Docker
10 lines
298 B
Docker
FROM mobylinux/alpine-build-c:36aecb5cf4738737634140eec9abebe1f6559a39
|
|
COPY . .
|
|
# 0.7.2
|
|
ENV LDFLAGS=--static
|
|
RUN git clone https://github.com/landley/toybox.git && \
|
|
cd toybox && git checkout b27d5d9ad0c56014d8661d91f69ee498bbbe4cf9 && \
|
|
make defconfig
|
|
WORKDIR /toybox
|
|
ENTRYPOINT ["/build.sh"]
|