mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-24 11:25:40 +00:00
Add a script to get current binaries
If these have been pushed you can fetch them rather than doing a build. For use in CI. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
89f47709dc
commit
d0f7337014
13
Makefile
13
Makefile
@ -51,6 +51,19 @@ else
|
||||
$(error "git not clean")
|
||||
endif
|
||||
|
||||
get:
|
||||
ifeq ($(STATUS),)
|
||||
IMAGE=$$( docker create mobylinux/media:$(MEDIA_PREFIX)$(TAG) /dev/null ) && \
|
||||
mkdir -p alpine/kernel/x86_64 && \
|
||||
docker cp $$IMAGE:vmlinuz64 alpine/kernel/x86_64/vmlinuz64 && \
|
||||
docker cp $$IMAGE:vmlinux alpine/kernel/x86_64/vmlinux && \
|
||||
docker cp $$IMAGE:initrd.img alpine/initrd.img && \
|
||||
docker cp $$IMAGE:mobylinux-efi.iso alpine/mobylinux-efi.iso && \
|
||||
docker rm $$IMAGE
|
||||
else
|
||||
$(error "git not clean")
|
||||
endif
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
clean:
|
||||
|
Loading…
Reference in New Issue
Block a user