]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/docker/production/Dockerfile.stretch
yarn -> npm in dockerfile
[github/Chocobozzz/PeerTube.git] / support / docker / production / Dockerfile.stretch
index 5025341f1dd7ca76836ebabcf79e77494e5a58d2..c653233b6930f05a07a4ba381714f56579d34f80 100644 (file)
@@ -7,8 +7,8 @@ ARG NPM_RUN_BUILD_OPTS
 
 RUN set -ex; \
     if ! command -v gpg > /dev/null; then \
-      apt-get update; \
-      apt-get install -y --no-install-recommends \
+      apt update; \
+      apt install -y --no-install-recommends \
         gnupg \
         dirmngr \
       ; \
@@ -16,8 +16,8 @@ RUN set -ex; \
 fi
 
 # Install dependencies
-RUN apt-get update \
-    && apt-get -y install ffmpeg \
+RUN apt update \
+    && apt -y install ffmpeg \
     && rm /var/lib/apt/lists/* -fR
 
 # Add peertube user
@@ -26,8 +26,8 @@ RUN groupadd -r peertube \
 
 # grab gosu for easy step-down from root
 RUN set -eux; \
-       apt-get update; \
-       apt-get install -y gosu; \
+       apt update; \
+       apt install -y gosu; \
        rm -rf /var/lib/apt/lists/*; \
        gosu nobody true