From 9999132166dba235239327be990c264755b9de46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=BE=D0=BD=D0=B0=D1=80=D0=B5=D0=B2=D1=81=D0=BA?= =?UTF-8?q?=D0=B8=D0=B9=20=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80?= Date: Tue, 15 May 2018 15:28:46 +0300 Subject: [PATCH] Fix apt to apt-get --- NodeBase/Dockerfile | 14 +++++++------- NodeBase/Dockerfile.txt | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/NodeBase/Dockerfile b/NodeBase/Dockerfile index 3d7cbc39d6..6aa658e147 100644 --- a/NodeBase/Dockerfile +++ b/NodeBase/Dockerfile @@ -25,16 +25,16 @@ ENV LANGUAGE ${LANG_WHICH}_${LANG_WHERE}.${ENCODING} ENV LANG ${LANGUAGE} # Layer size: small: ~9 MB # Layer size: small: ~9 MB MB (with --no-install-recommends) -RUN apt -qqy update \ - && apt -qqy --no-install-recommends install \ +RUN apt-get -qqy update \ + && apt-get -qqy --no-install-recommends install \ language-pack-en \ tzdata \ locales \ && locale-gen ${LANGUAGE} \ && dpkg-reconfigure --frontend noninteractive locales \ - && apt -qyy autoremove \ + && apt-get -qyy autoremove \ && rm -rf /var/lib/apt/lists/* \ - && apt -qyy clean + && apt-get -qyy clean #================ # Font libraries @@ -56,8 +56,8 @@ RUN apt -qqy update \ # https://github.com/SeleniumHQ/docker-selenium/issues/383#issuecomment-278367069 # Layer size: small: 36.28 MB (with --no-install-recommends) # Layer size: small: 36.28 MB -RUN apt -qqy update \ - && apt -qqy --no-install-recommends install \ +RUN apt-get -qqy update \ + && apt-get -qqy --no-install-recommends install \ libfontconfig \ libfreetype6 \ xfonts-cyrillic \ @@ -68,7 +68,7 @@ RUN apt -qqy update \ fonts-tlwg-loma-otf \ ttf-ubuntu-font-family \ && rm -rf /var/lib/apt/lists/* \ - && apt -qyy clean + && apt-get -qyy clean #=================================================== # Run the following commands as non-privileged user diff --git a/NodeBase/Dockerfile.txt b/NodeBase/Dockerfile.txt index f9350c5876..bb922d8ed8 100644 --- a/NodeBase/Dockerfile.txt +++ b/NodeBase/Dockerfile.txt @@ -18,16 +18,16 @@ ENV LANGUAGE ${LANG_WHICH}_${LANG_WHERE}.${ENCODING} ENV LANG ${LANGUAGE} # Layer size: small: ~9 MB # Layer size: small: ~9 MB MB (with --no-install-recommends) -RUN apt -qqy update \ - && apt -qqy --no-install-recommends install \ +RUN apt-get -qqy update \ + && apt-get -qqy --no-install-recommends install \ language-pack-en \ tzdata \ locales \ && locale-gen ${LANGUAGE} \ && dpkg-reconfigure --frontend noninteractive locales \ - && apt -qyy autoremove \ + && apt-get -qyy autoremove \ && rm -rf /var/lib/apt/lists/* \ - && apt -qyy clean + && apt-get -qyy clean #================ # Font libraries @@ -49,8 +49,8 @@ RUN apt -qqy update \ # https://github.com/SeleniumHQ/docker-selenium/issues/383#issuecomment-278367069 # Layer size: small: 36.28 MB (with --no-install-recommends) # Layer size: small: 36.28 MB -RUN apt -qqy update \ - && apt -qqy --no-install-recommends install \ +RUN apt-get -qqy update \ + && apt-get -qqy --no-install-recommends install \ libfontconfig \ libfreetype6 \ xfonts-cyrillic \ @@ -61,7 +61,7 @@ RUN apt -qqy update \ fonts-tlwg-loma-otf \ ttf-ubuntu-font-family \ && rm -rf /var/lib/apt/lists/* \ - && apt -qyy clean + && apt-get -qyy clean #=================================================== # Run the following commands as non-privileged user