mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-01 13:30:25 +00:00
These are standalone, better to have them at the top. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
18 lines
349 B
Docker
18 lines
349 B
Docker
FROM alpine:3.5
|
|
RUN \
|
|
apk update && apk upgrade && \
|
|
apk add \
|
|
automake \
|
|
bash \
|
|
build-base \
|
|
git \
|
|
&& true
|
|
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"]
|