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:
parent
c08f890532
commit
906c11c0aa
@ -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/*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user