Skip to content

Commit 727dad5

Browse files
authored
DEV: Make wget consistently quiet (#612)
That firefox download is ~1.5k log lines long. πŸ˜…
1 parent 93906f1 commit 727dad5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

β€Žimage/discourse_test/Dockerfileβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo ap
2222
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list &&\
2323
apt update &&\
2424
apt install -y libgconf-2-4 libxss1 google-chrome-stable firefox-esr &&\
25-
cd /tmp && wget "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64&lang=en-US" -O firefox.tar.bz2 &&\
25+
cd /tmp && wget -q "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64&lang=en-US" -O firefox.tar.bz2 &&\
2626
tar xjvf firefox.tar.bz2 && mv /tmp/firefox /opt/firefox-evergreen &&\
2727
apt clean
2828

β€Žtemplates/cloudflare.template.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ run:
55
contents: |
66
#!/bin/bash -e
77
# Download list of CloudFlare ips
8-
wget https://www.cloudflare.com/ips-v4/ -O - > /tmp/cloudflare-ips
8+
wget -q https://www.cloudflare.com/ips-v4/ -O - > /tmp/cloudflare-ips
99
echo >> /tmp/cloudflare-ips
10-
wget https://www.cloudflare.com/ips-v6/ -O - >> /tmp/cloudflare-ips
10+
wget -q https://www.cloudflare.com/ips-v6/ -O - >> /tmp/cloudflare-ips
1111
# Make into nginx commands and escape for inclusion into sed append command
1212
CONTENTS=$(</tmp/cloudflare-ips sed '/^$/d; s/^.*/set_real_ip_from &;/' | tr '\n' '\\' | sed 's/\\/\\n/g')
1313

β€Žtemplates/import/mssql-dep.template.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ hooks:
88
- exec:
99
cd: /tmp
1010
cmd:
11-
- wget -O freetds.tar.gz http://www.freetds.org/files/stable/freetds-1.00.91.tar.gz
11+
- wget -q -O freetds.tar.gz http://www.freetds.org/files/stable/freetds-1.00.91.tar.gz
1212
- tar -xzf freetds.tar.gz
1313
- exec:
1414
cd: /tmp/freetds-*

0 commit comments

Comments
Β (0)