From a1bbf13d6a5d2dd53988cd0a04b0f66e6dd9c003 Mon Sep 17 00:00:00 2001 From: Richard de Boer Date: Fri, 19 Feb 2021 15:26:11 +0100 Subject: [PATCH] use `apt-get` instead of `apt` Because `apt` is meant for humans, and complains when called in scripts. (manpage: "While it tries not to break backward compatibility this is not guaranteed") --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 94cad05..fd726b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,10 @@ FROM --platform=$BUILDPLATFORM golang:latest AS support COPY . /opt/build -RUN apt update -y \ - && apt install build-essential python3-pip curl software-properties-common sed -y \ +RUN apt-get update -y \ + && apt-get install build-essential python3-pip curl software-properties-common sed -y \ && (curl -sL https://deb.nodesource.com/setup_14.x | bash -) \ - && apt install nodejs \ + && apt-get install nodejs \ && (cd /opt/build; make configuration npm email version typescript bundle-css swagger copy external-files GOESBUILD=on) \ && sed -i 's#id="password_resets-watch_directory" placeholder="/config/jellyfin"#id="password_resets-watch_directory" value="/jf" disabled#g' /opt/build/build/data/html/setup.html