From f205f8e58e04d58ab1dea60b5b28fcce522ca8d5 Mon Sep 17 00:00:00 2001 From: Isaac Abadi Date: Sat, 30 Apr 2022 13:38:26 -0400 Subject: [PATCH] Switched from alpine to ubuntu --- Dockerfile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3a9d9e3f..317d68e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM alpine:latest AS ffmpeg +FROM ubuntu:focal AS ffmpeg COPY docker-build.sh . RUN sh ./docker-build.sh -FROM alpine:latest as frontend +FROM ubuntu:focal as frontend RUN apk add --no-cache \ npm @@ -20,7 +20,7 @@ RUN npm run build #--------------# -FROM alpine:latest +FROM ubuntu:focal ENV UID=1000 \ GID=1000 \ @@ -34,11 +34,7 @@ RUN apk add --no-cache \ npm \ python2 \ python3 \ - su-exec \ - && apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \ - atomicparsley \ - && apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main/ \ - musl + atomicparsley WORKDIR /app COPY --from=ffmpeg /usr/local/bin/ffmpeg /usr/local/bin/ffmpeg