linuxkit/projects/clear-containers/tools/Dockerfile
Jose Carlos Venegas Munoz b485f729e8 clear-containers: Add script to launch base OS and kernel
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>
2017-04-14 09:26:10 +00:00

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"]