1
0
Fork 0
mirror of synced 2024-06-02 02:25:20 +12:00

bump pip and node versions

This commit is contained in:
Nick Sweeting 2021-02-01 05:45:21 -05:00
parent 6ab3cd2a66
commit 7e7ffcac18

View file

@ -62,7 +62,8 @@ RUN curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
&& echo 'deb https://deb.nodesource.com/node_15.x buster main' >> /etc/apt/sources.list \
&& apt-get update -qq \
&& apt-get install -qq -y --no-install-recommends \
nodejs npm \
nodejs \
&& npm install -g npm \
&& rm -rf /var/lib/apt/lists/*
# Install Node dependencies
@ -82,6 +83,7 @@ ADD ./pip_dist/archivebox.egg-info/requires.txt "$CODE_DIR/pip_dist/archivebox.e
RUN apt-get update -qq \
&& apt-get install -qq -y --no-install-recommends \
build-essential python-dev python3-dev \
&& pip install --upgrade pip \
&& grep -B 1000 -E '^$' "$CODE_DIR/pip_dist/archivebox.egg-info/requires.txt" | pip install --quiet -r /dev/stdin \
&& pip install --quiet "sonic-client==0.0.5" \
&& apt-get purge -y build-essential python-dev python3-dev \