Skip to content

Commit 4287f47

Browse files
committed
Use apt instead apt-get
1 parent d050295 commit 4287f47

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ ENV APACHE_CONFDIR=/etc/apache2 \
6767
APACHE_LOG_DIR=/var/log/apache2 \
6868
LANG=C.UTF-8
6969

70-
RUN apt-get update && \
70+
RUN apt update && \
7171
apt upgrade --assume-yes && \
72-
apt-get install --assume-yes --no-install-recommends apt-utils software-properties-common && \
72+
apt install --assume-yes --no-install-recommends apt-utils software-properties-common && \
7373
apt autoremove --assume-yes software-properties-common && \
74-
apt-get update && \
75-
DEBIAN_FRONTEND=noninteractive apt-get install --assume-yes --no-install-recommends \
74+
apt update && \
75+
DEBIAN_FRONTEND=noninteractive apt install --assume-yes --no-install-recommends \
7676
libfcgi libgslcblas0 libqca-qt5-2 libqca-qt5-2-plugins libzip5 \
7777
libqt5opengl5 libqt5sql5-sqlite libqt5concurrent5 libqt5positioning5 libqt5script5 \
7878
libqt5webkit5 libqwt-qt5-6 libspatialindex6 libspatialite7 libsqlite3-0 libqt5keychain1 \
@@ -84,7 +84,7 @@ RUN apt-get update && \
8484
libqt53dcore5 libqt53dextras5 libqt53dlogic5 libqt53dinput5 libqt53drender5 \
8585
libqt5serialport5 libqt5quickwidgets5 libexiv2-27 libprotobuf17 libprotobuf-lite17 \
8686
libgsl23 && \
87-
apt-get clean && \
87+
apt clean && \
8888
rm -rf /var/lib/apt/lists/*
8989

9090
# Be able to install font as nonroot

0 commit comments

Comments
 (0)