mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 18:11:35 +00:00
This commit adds the script qemu.sh that will be used in a docker container (created with Dockerfile). This script will crate qemu instance to lauch a Clear Container base OS with a kernel generated with moby. Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
11 lines
383 B
Docker
11 lines
383 B
Docker
FROM fedora:25
|
|
|
|
RUN dnf install -y 'dnf-command(config-manager)'
|
|
RUN dnf config-manager --add-repo \
|
|
http://download.opensuse.org/repositories/home:clearlinux:preview:clear-containers-2.1/Fedora\_25/home:clearlinux:preview:clear-containers-2.1.repo
|
|
|
|
RUN dnf install -y qemu-lite clear-containers-image linux-container
|
|
COPY qemu.sh /bin/qemu.sh
|
|
WORKDIR /root
|
|
ENTRYPOINT ["qemu.sh"]
|