fix: #682 install tzdata

pull/683/head
adripo 3 years ago committed by GitHub
parent 703848e4e5
commit 9bc9b17294
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,7 +9,7 @@ RUN sh ./ffmpeg-fetch.sh
# Create our Ubuntu 22.04 with node 16 # Create our Ubuntu 22.04 with node 16
# Go to 20.04 # Go to 20.04
FROM ubuntu:20.04 AS base FROM ubuntu:20.04 AS base
ENV DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
ENV UID=1000 ENV UID=1000
ENV GID=1000 ENV GID=1000
ENV USER=youtube ENV USER=youtube
@ -17,7 +17,7 @@ ENV NO_UPDATE_NOTIFIER=true
ENV PM2_HOME=/app/pm2 ENV PM2_HOME=/app/pm2
RUN groupadd -g $GID $USER && useradd --system -m -g $USER --uid $UID $USER && \ RUN groupadd -g $GID $USER && useradd --system -m -g $USER --uid $UID $USER && \
apt update && \ apt update && \
apt install -y --no-install-recommends curl ca-certificates && \ apt install -y --no-install-recommends curl ca-certificates tzdata && \
curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \ curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \
apt install -y --no-install-recommends nodejs && \ apt install -y --no-install-recommends nodejs && \
npm -g install npm && \ npm -g install npm && \

Loading…
Cancel
Save