diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2020-01-03 23:40:36 +0100 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2020-01-03 23:40:36 +0100 |
commit | da9e7167e1444415f5ff846e38f64feb61d10381 (patch) | |
tree | 56fdf74052e1a4f4a85e4bdeb8c92381a62c2b0f | |
parent | 508272f17b6ad848a8b8c5840fa73ed3e74e4ac0 (diff) |
dockerfile: Use sed, not ed
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -5,8 +5,7 @@ RUN apk add --no-cache npm g++ WORKDIR /webserver # Get a word list for the abbrgen module -RUN wget 'http://app.aspell.net/create?max_size=60&spelling=GBs&max_variant=0&diacritic=strip&special=hacker&download=wordlist&encoding=utf-8&format=inline' -O words && \ - printf "1,/---/ d\nw\nq\n" | ed words >/dev/null +RUN wget 'http://app.aspell.net/create?max_size=60&spelling=GBs&max_variant=0&diacritic=strip&special=hacker&download=wordlist&encoding=utf-8&format=inline' -O - | sed '1,/---/d' >words COPY . . # The --unsafe-perm flag is to allow building the abbreviation_gen executable |