Use included zcat

This commit is contained in:
curben 2018-10-10 18:18:36 +10:30
parent e9b7a7edeb
commit f74cba26b7
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ image: alpine:latest # Use latest version of Alpine Linux docker image
before_script:
# Install dependencies
- 'which ssh-agent || ( apk update && apk add openssh-client git wget unzip)'
- 'which ssh-agent || ( apk update && apk add openssh-client git wget)'
# Run ssh-agent
- eval $(ssh-agent -s)

View File

@ -6,7 +6,7 @@
# Download the list
wget -O- http://s3-us-west-1.amazonaws.com/umbrella-static/top-1m.csv.zip | \
# Unzip
funzip | \
# Decompress the zip and write output to stdout
zcat -dc | \
# Parse domains only
cut -f 2 -d ',' > ../src/top-1m.txt