Browse Source

Change dir

master
Mayank 5 years ago
parent
commit
25822cc800
No known key found for this signature in database GPG Key ID: D037D60476CE748C
  1. 7
      stage0/00-configure-apt/00-run.sh
  2. 6
      stage2/05-docker-compose/01-run.sh

7
stage0/00-configure-apt/00-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

6
stage2/05-docker-compose/01-run.sh

@ -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
Loading…
Cancel
Save