Skip to content

Commit c326394

Browse files
Vladimir Ponarevskydiemol
Vladimir Ponarevsky
authored andcommitted
Fix apt to apt-get (#733)
1 parent fe1a0fb commit c326394

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

NodeBase/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ ENV LANGUAGE ${LANG_WHICH}_${LANG_WHERE}.${ENCODING}
2525
ENV LANG ${LANGUAGE}
2626
# Layer size: small: ~9 MB
2727
# Layer size: small: ~9 MB MB (with --no-install-recommends)
28-
RUN apt -qqy update \
29-
&& apt -qqy --no-install-recommends install \
28+
RUN apt-get -qqy update \
29+
&& apt-get -qqy --no-install-recommends install \
3030
language-pack-en \
3131
tzdata \
3232
locales \
3333
&& locale-gen ${LANGUAGE} \
3434
&& dpkg-reconfigure --frontend noninteractive locales \
35-
&& apt -qyy autoremove \
35+
&& apt-get -qyy autoremove \
3636
&& rm -rf /var/lib/apt/lists/* \
37-
&& apt -qyy clean
37+
&& apt-get -qyy clean
3838

3939
#================
4040
# Font libraries
@@ -56,8 +56,8 @@ RUN apt -qqy update \
5656
# https://github.com/SeleniumHQ/docker-selenium/issues/383#issuecomment-278367069
5757
# Layer size: small: 36.28 MB (with --no-install-recommends)
5858
# Layer size: small: 36.28 MB
59-
RUN apt -qqy update \
60-
&& apt -qqy --no-install-recommends install \
59+
RUN apt-get -qqy update \
60+
&& apt-get -qqy --no-install-recommends install \
6161
libfontconfig \
6262
libfreetype6 \
6363
xfonts-cyrillic \
@@ -68,7 +68,7 @@ RUN apt -qqy update \
6868
fonts-tlwg-loma-otf \
6969
ttf-ubuntu-font-family \
7070
&& rm -rf /var/lib/apt/lists/* \
71-
&& apt -qyy clean
71+
&& apt-get -qyy clean
7272

7373
#===================================================
7474
# Run the following commands as non-privileged user

NodeBase/Dockerfile.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ ENV LANGUAGE ${LANG_WHICH}_${LANG_WHERE}.${ENCODING}
1818
ENV LANG ${LANGUAGE}
1919
# Layer size: small: ~9 MB
2020
# Layer size: small: ~9 MB MB (with --no-install-recommends)
21-
RUN apt -qqy update \
22-
&& apt -qqy --no-install-recommends install \
21+
RUN apt-get -qqy update \
22+
&& apt-get -qqy --no-install-recommends install \
2323
language-pack-en \
2424
tzdata \
2525
locales \
2626
&& locale-gen ${LANGUAGE} \
2727
&& dpkg-reconfigure --frontend noninteractive locales \
28-
&& apt -qyy autoremove \
28+
&& apt-get -qyy autoremove \
2929
&& rm -rf /var/lib/apt/lists/* \
30-
&& apt -qyy clean
30+
&& apt-get -qyy clean
3131

3232
#================
3333
# Font libraries
@@ -49,8 +49,8 @@ RUN apt -qqy update \
4949
# https://github.com/SeleniumHQ/docker-selenium/issues/383#issuecomment-278367069
5050
# Layer size: small: 36.28 MB (with --no-install-recommends)
5151
# Layer size: small: 36.28 MB
52-
RUN apt -qqy update \
53-
&& apt -qqy --no-install-recommends install \
52+
RUN apt-get -qqy update \
53+
&& apt-get -qqy --no-install-recommends install \
5454
libfontconfig \
5555
libfreetype6 \
5656
xfonts-cyrillic \
@@ -61,7 +61,7 @@ RUN apt -qqy update \
6161
fonts-tlwg-loma-otf \
6262
ttf-ubuntu-font-family \
6363
&& rm -rf /var/lib/apt/lists/* \
64-
&& apt -qyy clean
64+
&& apt-get -qyy clean
6565

6666
#===================================================
6767
# Run the following commands as non-privileged user

0 commit comments

Comments
 (0)