mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-25 14:30:14 +00:00
Using docker build is slower and needs lots of Dockerfiles, while a single image with a careful script can accept any type of image, either with `-v` to share into `/tmp` for interactive use (where you need the input and a tty, or by adding a tarball for cases where there is no login such as running tests, so you can still use a remote daemon in these cases. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
14 lines
200 B
Docker
14 lines
200 B
Docker
FROM alpine:3.5
|
|
|
|
RUN \
|
|
apk update && apk upgrade && \
|
|
apk add --no-cache \
|
|
libarchive-tools \
|
|
qemu-img \
|
|
qemu-system-arm \
|
|
qemu-system-x86_64 \
|
|
&& true
|
|
|
|
COPY . .
|
|
ENTRYPOINT ["/qemu.sh"]
|