Skip to content

Fix apt to apt-get #733

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 15, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions NodeBase/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 \
Expand All @@ -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
Expand Down
14 changes: 7 additions & 7 deletions NodeBase/Dockerfile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 \
Expand All @@ -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
Expand Down