Update ha_venv_setup.sh

This commit is contained in:
tteck 2021-08-24 07:45:37 -04:00 committed by GitHub
parent 5c16ad59c5
commit 3010f5d045
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 13 deletions

View File

@ -37,18 +37,30 @@ apt-get -qqy install \
curl \
sudo &>/dev/null
msg "Installing Dependencies"
sudo apt-get install -y python3 \
python3-dev \
python3-venv \
python3-pip \
libffi-dev \
libssl-dev \
libjpeg-dev \
zlib1g-dev \
autoconf build-essential \
libopenjp2-7 \
libtiff5 tzdata &>/dev/null
msg "Installing Dependencies..."
sudo apt-get -qqy install \
msg "1..."
python3 \
msg "2..."
python3-dev \
msg "3..."
python3-venv \
msg "4..."
python3-pip \
msg "5..."
libffi-dev \
msg "6..."
libssl-dev \
msg "7..."
libjpeg-dev \
msg "8..."
zlib1g-dev \
msg "9..."
autoconf build-essential \
msg "1..."
libopenjp2-7 \
msg "10..."
libtiff5 tzdata &>/dev/null
sudo useradd -rm homeassistant &>/dev/null
sudo mkdir /srv/homeassistant &>/dev/null
@ -83,4 +95,4 @@ systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
# Cleanup container
msg "Cleanup..."
rm -rf /ha_venv_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
rm -rf /ha_venv_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*