MAINTAINERS: Add some more rocker related files
[qemu.git] / tests / docker / dockerfiles / debian-bootstrap.docker
blob3a9125e49770f4677b241c53ad44fe5ed698ba02
1 # Create Debian Bootstrap Image
3 # This is intended to be pre-poluated by:
4 #  - a first stage debootstrap (see debian-bootstrap.pre)
5 #  - a native qemu-$arch that binfmt_misc will run
6 FROM scratch
8 # Add everything from the context into the container
9 ADD . /
11 # Patch all mounts as docker already has stuff set up
12 RUN sed -i 's/in_target mount/echo not for docker in_target mount/g' /debootstrap/functions
14 # Run stage 2
15 RUN /debootstrap/debootstrap --second-stage
17 # At this point we can install additional packages if we want
18 # Duplicate deb line as deb-src
19 RUN cat /etc/apt/sources.list | sed "s/deb/deb-src/" >> /etc/apt/sources.list
20 RUN apt-get update
21 RUN apt-get -y build-dep qemu