1
0
Fork 0
mirror of synced 2024-06-22 04:10:30 +12:00

didnt realize grep supported negative indexes

This commit is contained in:
Nick Sweeting 2020-08-14 23:46:07 -04:00
parent bdd111d548
commit 09b624f120

View file

@ -67,7 +67,7 @@ ADD ./archivebox.egg-info/requires.txt "$CODE_DIR/archivebox.egg-info/requires.t
RUN apt-get update -qq \
&& apt-get install -qq -y --no-install-recommends \
build-essential python-dev python3-dev \
&& grep -B 1000 -E '^$' "$CODE_DIR/archivebox.egg-info/requires.txt" | pip install --quiet -r /dev/stdin \
&& grep -B -1 -E '^$' "$CODE_DIR/archivebox.egg-info/requires.txt" | pip install --quiet -r /dev/stdin \
&& apt-get purge -y build-essential python-dev python3-dev \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*