Skip to content

Commit

Permalink
switch to ubuntu 18.04
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsotc committed Jul 7, 2022
1 parent 3fe3162 commit 37b391d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 . .
Expand Down

0 comments on commit 37b391d

Please sign in to comment.