mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 18:41:37 +00:00
tools: Remove toybox. It's no longer used by any active packages
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
fbea0d9fd0
commit
b2eacf0f6c
@ -1,24 +0,0 @@
|
|||||||
FROM linuxkit/alpine:c5021a113803f7608e3908014d316c3490183d0b@sha256:4c7a80173c71ca5019dc56f40442b3a8345f141dd46593bd1fe6d130294d07cb AS build
|
|
||||||
RUN apk add \
|
|
||||||
bash \
|
|
||||||
gcc \
|
|
||||||
git \
|
|
||||||
make \
|
|
||||||
musl-dev
|
|
||||||
|
|
||||||
ENV FILES="ls tar sh find sha1sum"
|
|
||||||
# 0.7.2
|
|
||||||
ENV LDFLAGS=--static
|
|
||||||
RUN git clone https://github.com/landley/toybox.git && \
|
|
||||||
cd toybox && git checkout b27d5d9ad0c56014d8661d91f69ee498bbbe4cf9
|
|
||||||
WORKDIR /toybox
|
|
||||||
RUN make defconfig
|
|
||||||
RUN make ${FILES}
|
|
||||||
RUN mkdir -p /out/bin
|
|
||||||
RUN cp ${FILES} /out/bin
|
|
||||||
|
|
||||||
FROM scratch
|
|
||||||
ENTRYPOINT []
|
|
||||||
CMD []
|
|
||||||
WORKDIR /
|
|
||||||
COPY --from=build out/bin bin/
|
|
@ -1,14 +0,0 @@
|
|||||||
.PHONY: tag push
|
|
||||||
default: push
|
|
||||||
|
|
||||||
IMAGE=toybox-media
|
|
||||||
DEPS=Dockerfile
|
|
||||||
|
|
||||||
HASH?=$(shell git ls-tree HEAD -- ../$(notdir $(CURDIR)) | awk '{print $$3}')
|
|
||||||
|
|
||||||
tag: $(DEPS)
|
|
||||||
docker build --no-cache -t linuxkit/$(IMAGE):$(HASH) .
|
|
||||||
|
|
||||||
push: tag
|
|
||||||
DOCKER_CONTENT_TRUST=1 docker pull linuxkit/$(IMAGE):$(HASH) || \
|
|
||||||
DOCKER_CONTENT_TRUST=1 docker push linuxkit/$(IMAGE):$(HASH)
|
|
@ -1,3 +0,0 @@
|
|||||||
`linuxkit/toybox-media` is a small container image, which can be use
|
|
||||||
to distribute other files in. It contains a basic shell, `tar`, `ls`,
|
|
||||||
`find`, and `sha1sum`. It's compiled from [toybox](https://github.com/landley/toybox.git).
|
|
Loading…
Reference in New Issue
Block a user