diff options
author | Claus F. Strasburger <[email protected]> | 2017-01-23 13:44:03 +0100 |
---|---|---|
committer | XECDesign <[email protected]> | 2017-01-23 12:44:03 +0000 |
commit | 667318116acda97b58734ae7512789a0f56db306 (patch) | |
tree | 3491756abae80c48283fddc41ecb97e8bac0664a /Dockerfile | |
parent | bc8a74858e0446a2d74b34430a1b3c2ba161c655 (diff) |
Added Docker support (#40)
* Added Docker support
- replaced necessity for devicemapper (through kpartx) by using parted and
losetup with offsets
- added Dockerfile
- added dependency for parted and grep
- added hints to README.md
- common: loop through unmounts, fix shellcheck warnings
* stage2: use debconf instead of console-setup patch. Fixes #41
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..597acbd --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM debian:jessie + +RUN apt-get -y update && \ + apt-get -y install \ + git vim parted \ + quilt realpath qemu-user-static debootstrap zerofree pxz zip dosfstools \ + bsdtar libcap2-bin rsync grep \ + && rm -rf /var/lib/apt/lists/* + +COPY . /pi-gen/ + +VOLUME [ "/pi-gen/work", "/pi-gen/deploy"] |