Files
linuxkit/alpine/base/alpine-build-toybox/Dockerfile
Justin Cormack 158cefabe3 Add some basic shell commands in media image for debug
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>
2016-11-19 16:19:59 +00:00

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"]