Skip to content

Commit fb06f09

Browse files
committed
Reduce log output further
1 parent 21990aa commit fb06f09

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

init/bootstrap_ubuntu_server.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ set -euo pipefail
2121
export BUILDKIT_PROGRESS=plain
2222

2323
# Update system
24-
if ! dpkg -l | grep git; then
24+
if ! dpkg -l | grep git &>/dev/null; then
2525
sudo apt update
2626
sudo apt dist-upgrade -y
2727
sudo apt install -y git vim python3 python3-requests python3-jinja2 htop
2828
fi
2929

3030
# Install docker based on https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository
31-
if ! dpkg -l | grep docker-ce; then
31+
if ! dpkg -l | grep docker-ce &>/dev/null; then
3232
sudo apt install -y apt-transport-https \
3333
ca-certificates \
3434
curl \
@@ -58,6 +58,7 @@ echo -n "${ROOT_DOMAIN}" >config/root_domain
5858
echo -n "${FIELD_NAME}" >config/field_name
5959
./config/docker/init.sh
6060
./config/caddy/generate_caddyfile.py
61+
docker compose pull --quiet
6162
docker compose up -d
6263
sleep 30s
6364
./config/guacamole/update_guacamole.py

0 commit comments

Comments
 (0)