Mayank
5 years ago
No known key found for this signature in database
GPG Key ID: D037D60476CE748C
1 changed files with
3 additions and
4 deletions
-
stage2/05-docker-compose/01-run.sh
|
@ -37,11 +37,10 @@ apt-get install golang-go |
|
|
go version |
|
|
go version |
|
|
wget -q "https://raw.githubusercontent.com/moby/moby/master/contrib/download-frozen-image-v2.sh" |
|
|
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" |
|
|
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=`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 "List of images to download: $IMAGES" |
|
|
echo "Images to download: $IMAGES" |
|
|
|
|
|
chmod +x ./download-frozen-image-v2.sh |
|
|
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 |
|
|
mkdir ${ROOTFS_DIR}/home/${FIRST_USER_NAME}/images |
|
|
cp -avr docker-images/ ${ROOTFS_DIR}/home/${FIRST_USER_NAME}/images |
|
|
cp -avr docker-images/ ${ROOTFS_DIR}/home/${FIRST_USER_NAME}/images |