docker: bump ubuntu to 20.04 and node to 18

This commit is contained in:
Yehoshua Pesach Wallach 2022-05-08 23:53:22 +03:00 committed by JF
parent 78267eec40
commit f56788465d

View File

@ -1,4 +1,4 @@
FROM ubuntu:18.04 FROM ubuntu:20.04
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update -qq \ RUN apt-get update -qq \
@ -21,7 +21,8 @@ RUN apt-get update -qq \
python3-dev \ python3-dev \
python \ python \
git \ git \
&& curl -sL https://deb.nodesource.com/setup_12.x | bash - \ apt-utils \
&& curl -sL https://deb.nodesource.com/setup_18.x | bash - \
&& apt-get install -y nodejs \ && apt-get install -y nodejs \
&& rm -rf /var/cache/apt/* /var/lib/apt/lists/*; && rm -rf /var/cache/apt/* /var/lib/apt/lists/*;