mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-07 20:10:03 +03:00
Fix for #585
Added the DEBIAN_FRONTEND=noninteractive variable to all stages. This should stop the build from failing. Also added --no-install-recommends to install only the requested packages. This might break stuff, but I'm not sure though.
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
FROM ubuntu:20.04 AS ffmpeg
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
COPY docker-build.sh .
|
||||
RUN sh ./docker-build.sh
|
||||
|
||||
FROM ubuntu:20.04 as frontend
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update && apt-get -y install \
|
||||
RUN apt-get update && apt-get --no-install-recommends -y install \
|
||||
wget \
|
||||
curl \
|
||||
gnupg && \
|
||||
@@ -36,10 +38,12 @@ ENV UID=1000 \
|
||||
USER=youtube \
|
||||
NO_UPDATE_NOTIFIER=true
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN groupadd -g $GID $USER && useradd --system -g $USER --uid $UID $USER
|
||||
|
||||
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
|
||||
RUN apt-get update && apt-get -y install \
|
||||
RUN apt-get update && apt-get --no-install-recommends -y install \
|
||||
npm \
|
||||
python2 \
|
||||
python3 \
|
||||
|
||||
Reference in New Issue
Block a user