@@ -6,12 +6,9 @@ ARG BASE_IMAGE
66
77FROM $BASE_IMAGE
88
9- # Set DEBIAN_FRONTEND to noninteractive
10- ENV DEBIAN_FRONTEND=noninteractive
11-
129# Install base dependencys
1310RUN apt-get update
14- RUN apt-get install -y --no-install-recommends \
11+ RUN apt-get install --yes --no-install-recommends \
1512 devscripts equivs build-essential lintian clang git lsb-release \
1613 python3 gpg dirmngr sudo xauth curl kmod \
1714 cppcheck shellcheck && \
@@ -21,7 +18,7 @@ RUN apt-get install -y --no-install-recommends \
2118RUN --mount=type=bind,source=.,target=/linuxcnc-src,rw \
2219 cd linuxcnc-src && \
2320 debian/configure && \
24- apt-get -y build-dep . && \
21+ apt-get --yes build-dep . && \
2522 apt-get clean
2623
2724# Install linuxcnc install dependencys
@@ -35,11 +32,11 @@ RUN --mount=type=bind,source=.,target=/linuxcnc-src,rw \
3532 cd linuxcnc-src && \
3633 debian/configure && \
3734 debuild -us -uc --build=any && \
38- apt-get install -y --no-install-recommends \
35+ apt-get install --yes --no-install-recommends \
3936 ../linuxcnc-uspace_*.deb \
4037 ../linuxcnc-uspace-dev_*.deb \
4138 ../linuxcnc-uspace-dbgsym_*.deb && \
42- apt-get purge -y linuxcnc-uspace linuxcnc-uspace-dev linuxcnc-uspace-dbgsym && \
39+ apt-get purge --yes linuxcnc-uspace linuxcnc-uspace-dev linuxcnc-uspace-dbgsym && \
4340 apt-mark manual $(apt-get --dry-run autoremove | grep -Po '^Remv \K [^ ]+' ) && \
4441 rm -f ../linuxcnc*.* && \
4542 apt-get clean
0 commit comments