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

View File

@ -37,18 +37,30 @@ apt-get -qqy install \
curl \ curl \
sudo &>/dev/null sudo &>/dev/null
msg "Installing Dependencies" msg "Installing Dependencies..."
sudo apt-get install -y python3 \ sudo apt-get -qqy install \
python3-dev \ msg "1..."
python3-venv \ python3 \
python3-pip \ msg "2..."
libffi-dev \ python3-dev \
libssl-dev \ msg "3..."
libjpeg-dev \ python3-venv \
zlib1g-dev \ msg "4..."
autoconf build-essential \ python3-pip \
libopenjp2-7 \ msg "5..."
libtiff5 tzdata &>/dev/null 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 useradd -rm homeassistant &>/dev/null
sudo mkdir /srv/homeassistant &>/dev/null sudo mkdir /srv/homeassistant &>/dev/null
@ -83,4 +95,4 @@ systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
# Cleanup container # Cleanup container
msg "Cleanup..." 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/*