Browse Source

Install Umbrel v0.1.5-beta (#56)

swap
Mayank Chhabra 5 years ago
committed by GitHub
parent
commit
25941aefac
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      README.md
  2. 2
      build.sh
  3. 1
      config
  4. 3
      stage2/05-docker-compose/00-packages
  5. 4
      stage2/05-docker-compose/01-run.sh

2
README.md

@ -62,6 +62,8 @@ After the build completes (it can take a looooooong time), the image will be ins
The `config` file has system defaults which are used when building the image and for automated builds.
- `UMBREL_VERSION` - Use this to install the specific [Umbrel](https://github.com/getumbrel/umbrel) version
- `GITHUB_USERNAME` - Use this if you want to automatically login to your node without typing a password (used at build time).
Other Raspbian-related stuff can be found in [Raspbian's documentation](https://github.com/RPi-Distro/pi-gen/blob/master/README.md) which is still applicable.

2
build.sh

@ -208,6 +208,8 @@ export QUILT_NO_DIFF_INDEX=1
export QUILT_NO_DIFF_TIMESTAMPS=1
export QUILT_REFRESH_ARGS="-p ab"
export UMBREL_VERSION
# shellcheck source=scripts/common
source "${SCRIPT_DIR}/common"
# shellcheck source=scripts/dependencies_check

1
config

@ -4,3 +4,4 @@ TIMEZONE_DEFAULT="Etc/UTC"
FIRST_USER_NAME=umbrel
FIRST_USER_PASS=moneyprintergobrrr
ENABLE_SSH=1
UMBREL_VERSION=0.1.5-beta

3
stage2/05-docker-compose/00-packages

@ -1,2 +1,3 @@
git
fswatch
fswatch
jq

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

@ -6,7 +6,7 @@ echo "Installing docker-compose from pip3, and also setting up the box folder st
on_chroot << EOF
pip3 install docker-compose
cd /home/${FIRST_USER_NAME}
wget -qO- "https://raw.githubusercontent.com/getumbrel/umbrel/v0.1.4-beta/install-box.sh" | sh
wget -qO- "https://raw.githubusercontent.com/getumbrel/umbrel/v${UMBREL_VERSION}/install-box.sh" | sh
chown -R ${FIRST_USER_NAME}:${FIRST_USER_NAME} /home/${FIRST_USER_NAME}
EOF
@ -31,7 +31,7 @@ cp files/compose-service ${ROOTFS_DIR}/etc/init.d/umbrelbox
echo "Pulling Docker images required to run Umbrel services"
wget -q "https://raw.githubusercontent.com/getumbrel/umbrel/v0.1.4-beta/docker-compose.yml"
wget -q "https://raw.githubusercontent.com/getumbrel/umbrel/v${UMBREL_VERSION}/docker-compose.yml"
IMAGES=$(grep '^\s*image' docker-compose.yml | sed 's/image://' | sed 's/\"//g' | sed '/^$/d;s/[[:blank:]]//g' | sort | uniq)
echo "List of images to download: $IMAGES"

Loading…
Cancel
Save