Public Repository

Last pushed: 2 years ago
Short Description
Debian Sarge (3.1) from debootstrap
Full Description

Much thanks to tianon, whose mkimage.sh helped me understand how to do all this

The commands used were:

export rootfs=/var/tmp/rootfs
sudo debootstrap --arch=i386 sarge $rootfs http://archive.debian.org/debian/

rm -rf $rootfs/{dev,proc}
mkdir -p $rootfs{dev,proc}

mkdir -p $rootfs/etc
cp /etc/resolv.conf $rootfs/etc/

tar --numeric-owner -caf $rootfs/rootfs.tar.xz -C $rootfs --transform='s,^./,,' .

cat > Dockerfile <<EOF
FROM scratch
ADD rootfs.tar.xz /
CMD ["/bin/bash"]
EOF

docker build -t jedahan/palmos $rootfs
docker run jedahan/palmos apt-get install -y pilrc prc-tools prc-tools-doc
docker commit 4da7 jedahan/palmos
docker push jedahan/palmos
Docker Pull Command
Owner
jedahan

Comments (1)
amaranto
2 years ago

thanks man ! you rocks !