Put every suite in its own rootfs. Re #3
This makes it easier to build suites in parallel from a local checkout and/or keep the rootfs's of local builds around for investigation.
This commit is contained in:
parent
0595d723ab
commit
397fddc4e5
|
|
@ -1,4 +1,3 @@
|
|||
*
|
||||
!./repository@devuan.org.asc
|
||||
!./rootfs.tar.gz
|
||||
!./rootfs-slim.tar.gz
|
||||
!./rootfs*.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,3 +1,2 @@
|
|||
/rootfs
|
||||
/rootfs-slim
|
||||
/rootfs*
|
||||
/rootfs*.tar.gz
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ apt-get update
|
|||
apt-get install debootstrap -q -y
|
||||
|
||||
suite=$1
|
||||
rootfs=$2
|
||||
rootfs=$2-$suite
|
||||
|
||||
debootstrap \
|
||||
--force-check-gpg \
|
||||
|
|
|
|||
4
build.sh
4
build.sh
|
|
@ -22,7 +22,7 @@ STAMP=$(date +%F)
|
|||
|
||||
cat > Dockerfile <<EOF
|
||||
FROM scratch
|
||||
ADD $ROOTFS.tar.gz /
|
||||
ADD $ROOTFS-$SUITE.tar.gz /
|
||||
CMD ["bash"]
|
||||
EOF
|
||||
|
||||
|
|
@ -47,7 +47,7 @@ STAMP=$(date +%F)
|
|||
|
||||
cat > Dockerfile <<EOF
|
||||
FROM scratch
|
||||
ADD $ROOTFS-slim.tar.gz /
|
||||
ADD $ROOTFS-$SUITE-slim.tar.gz /
|
||||
CMD ["bash"]
|
||||
EOF
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue