Reverted ubuntu version to 20.04

pull/610/head
Isaac Abadi 4 years ago
parent 4d00960fcf
commit d37287541f

@ -1,4 +1,4 @@
FROM ubuntu:22.04 AS ffmpeg FROM ubuntu:20.04 AS ffmpeg
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
@ -7,17 +7,16 @@ RUN sh ./docker-build.sh
#--------------# Stage 2 #--------------# Stage 2
FROM ubuntu:22.04 as frontend FROM ubuntu:20.04 as frontend
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -y install \ RUN apt-get update && apt-get -y install \
curl \ curl && \
gnupg \ curl -sL https://deb.nodesource.com/setup_12.x | bash - && \
# Ubuntu 22.04 ships Node.JS 12 by default :) apt-get install -y gnupg \
nodejs \ nodejs \
# needed on 21.10 and before, maybe not on 22.04 YARN: brings along npm, solves dependency conflicts, yarn && \
# spares us this spaghetti approach: https://stackoverflow.com/a/60547197
npm && \
apt-get install -f && \ apt-get install -f && \
npm config set strict-ssl false && \ npm config set strict-ssl false && \
npm install -g @angular/cli npm install -g @angular/cli
@ -32,7 +31,7 @@ RUN npm run build
#--------------# Final Stage #--------------# Final Stage
FROM ubuntu:22.04 FROM ubuntu:20.04
ENV UID=1000 \ ENV UID=1000 \
GID=1000 \ GID=1000 \

Loading…
Cancel
Save