diff --git a/stage2/05-docker-compose/01-run.sh b/stage2/05-docker-compose/01-run.sh index 01a36df..162c64f 100755 --- a/stage2/05-docker-compose/01-run.sh +++ b/stage2/05-docker-compose/01-run.sh @@ -37,11 +37,10 @@ apt-get install golang-go go version wget -q "https://raw.githubusercontent.com/moby/moby/master/contrib/download-frozen-image-v2.sh" wget -q "https://raw.githubusercontent.com/getumbrel/umbrel-compose/master/docker-compose.yml" -#IMAGES=`grep '^\s*image' docker-compose.yml | sed 's/image://' | sort | uniq` -IMAGES="getumbrel/dashboard:v0.2.1 getumbrel/manager:v0.1.1 getumbrel/middleware:v0.1.1 lncm/bitcoind:v0.20.0 lncm/lnd:v0.9.2-root-experimental nginx:1.17.8 alpine:3.11" -echo "Images to download: $IMAGES" +IMAGES=`grep '^\s*image' docker-compose.yml | sed 's/image://' | sort | uniq` +echo "List of images to download: $IMAGES" chmod +x ./download-frozen-image-v2.sh -./download-frozen-image-v2.sh docker-images $IMAGES +./download-frozen-image-v2.sh docker-images "${IMAGES//\"}" mkdir ${ROOTFS_DIR}/home/${FIRST_USER_NAME}/images cp -avr docker-images/ ${ROOTFS_DIR}/home/${FIRST_USER_NAME}/images \ No newline at end of file