Swap docker to Node LTS (& latest stable Unbuntu) (#9139)

* Swap docker to Node LTS (& latest stable Unbuntu)

* Swap to latest (Ubuntu LTS)

* Add build-essential
This commit is contained in:
Jaco 2023-03-10 07:53:48 +02:00 committed by GitHub
parent c08f890532
commit 906c11c0aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,11 @@
FROM ubuntu:18.04 as builder FROM ubuntu:latest as builder
# Install any needed packages # Install any needed packages
RUN apt-get update && \ RUN apt-get update && \
apt-get install --no-install-recommends -y curl git gnupg ca-certificates apt-get install --no-install-recommends -y build-essential curl git gnupg ca-certificates
# install nodejs # install nodejs
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - RUN curl -sL https://deb.nodesource.com/setup_lts.x | bash -
RUN apt-get install --no-install-recommends -y nodejs && \ RUN apt-get install --no-install-recommends -y nodejs && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*