DEV: Make wget consistently quiet (#612)
That firefox download is ~1.5k log lines long. 😅
This commit is contained in:
parent
93906f14f4
commit
727dad5c48
3 changed files with 4 additions and 4 deletions
|
@ -22,7 +22,7 @@ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo ap
|
|||
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list &&\
|
||||
apt update &&\
|
||||
apt install -y libgconf-2-4 libxss1 google-chrome-stable firefox-esr &&\
|
||||
cd /tmp && wget "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64&lang=en-US" -O firefox.tar.bz2 &&\
|
||||
cd /tmp && wget -q "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64&lang=en-US" -O firefox.tar.bz2 &&\
|
||||
tar xjvf firefox.tar.bz2 && mv /tmp/firefox /opt/firefox-evergreen &&\
|
||||
apt clean
|
||||
|
||||
|
|
|
@ -5,9 +5,9 @@ run:
|
|||
contents: |
|
||||
#!/bin/bash -e
|
||||
# Download list of CloudFlare ips
|
||||
wget https://www.cloudflare.com/ips-v4/ -O - > /tmp/cloudflare-ips
|
||||
wget -q https://www.cloudflare.com/ips-v4/ -O - > /tmp/cloudflare-ips
|
||||
echo >> /tmp/cloudflare-ips
|
||||
wget https://www.cloudflare.com/ips-v6/ -O - >> /tmp/cloudflare-ips
|
||||
wget -q https://www.cloudflare.com/ips-v6/ -O - >> /tmp/cloudflare-ips
|
||||
# Make into nginx commands and escape for inclusion into sed append command
|
||||
CONTENTS=$(</tmp/cloudflare-ips sed '/^$/d; s/^.*/set_real_ip_from &;/' | tr '\n' '\\' | sed 's/\\/\\n/g')
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ hooks:
|
|||
- exec:
|
||||
cd: /tmp
|
||||
cmd:
|
||||
- wget -O freetds.tar.gz http://www.freetds.org/files/stable/freetds-1.00.91.tar.gz
|
||||
- wget -q -O freetds.tar.gz http://www.freetds.org/files/stable/freetds-1.00.91.tar.gz
|
||||
- tar -xzf freetds.tar.gz
|
||||
- exec:
|
||||
cd: /tmp/freetds-*
|
||||
|
|
Loading…
Add table
Reference in a new issue