Prepare docker
docker pull jazzypro/ubuntu-dind docker run --privileged -d jazzypro/ubuntu-dind --name pigen-docker
docker run \ -p 8080:8080 \ -v /var/run/docker.sock:/var/run/docker.sock \ --name jenkins \ jazzypro/ubuntu-dind
Build Image
apt update apt-get install quilt parted realpath qemu-user-static debootstrap zerofree pxz zip dosfstools bsdtar libcap2-bin grep rsync xz-utils file git git clone https://github.com/RPi-Distro/pi-gen cd pi-gen/ echo "IMG_NAME=ochorocho" > config