Fix docker build script (#5670)

This commit is contained in:
Wei Tang 2021-06-23 17:31:18 +02:00 committed by GitHub
parent a903e584c4
commit 24dc5ba71f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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