From 37b391d1c248fe8d657cdfff2b84f4eb7566eb9c Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 7 Jul 2022 19:02:31 +0000 Subject: [PATCH] switch to ubuntu 18.04 --- Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index ed278a4..9368f06 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,13 @@ -FROM node:8.12-alpine +FROM ubuntu:18.04 ENV NODE_OPTIONS=--use-openssl-ca -RUN adduser -S www-data +RUN apt-get update +RUN apt-get -y install make gcc g++ python bash git curl openssl nodejs npm -RUN apk add --no-cache make gcc g++ python bash git curl openssl ca-certificates -RUN curl https://crt.sh/?d=9314791 -o /usr/local/share/ca-certificates/9314791.crt -RUN update-ca-certificates -f -v +RUN npm i -g yarn +RUN npm install -g n +RUN n 8.12.0 WORKDIR /var/www ADD . .