Mayank
5 years ago
No known key found for this signature in database
GPG Key ID: D037D60476CE748C
2 changed files with
9 additions and
4 deletions
-
stage0/00-configure-apt/00-run.sh
-
stage2/05-docker-compose/01-run.sh
|
|
@ -26,9 +26,10 @@ wget -q "https://raw.githubusercontent.com/moby/moby/master/contrib/download-fro |
|
|
|
chmod +x download-frozen-image-v2.sh |
|
|
|
./download-frozen-image-v2.sh docker-images getumbrel/middleware:latest |
|
|
|
ls docker-images/ |
|
|
|
cp -avr docker-images/ ${ROOTFS_DIR}/home/${FIRST_USER_NAME}/docker-images |
|
|
|
mkdir -p ${ROOTFS_DIR}/etc/tmp/docker-images |
|
|
|
cp -avr docker-images/ ${ROOTFS_DIR}/etc/tmp/docker-images |
|
|
|
|
|
|
|
on_chroot << EOF |
|
|
|
ls /home/${FIRST_USER_NAME}/ |
|
|
|
ls /home/${FIRST_USER_NAME}/docker-images |
|
|
|
ls /tmp |
|
|
|
ls /tmp/docker-images |
|
|
|
EOF |
|
|
@ -29,4 +29,8 @@ echo "Copying the compose service to rootfs (etc/init.d)" |
|
|
|
cp files/compose-service ${ROOTFS_DIR}/etc/init.d/umbrelbox |
|
|
|
|
|
|
|
|
|
|
|
echo "Docker stuff installed!" |
|
|
|
echo "Docker stuff installed!" |
|
|
|
|
|
|
|
on_chroot << EOF |
|
|
|
tar -cC '/tmp/docker-images' . | docker load |
|
|
|
EOF |