From da9e7167e1444415f5ff846e38f64feb61d10381 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Fri, 3 Jan 2020 23:40:36 +0100 Subject: dockerfile: Use sed, not ed --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index ad2bb69..e3b9a25 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 -- cgit v1.2.3-70-g09d2