use apt-get -y

This commit is contained in:
kjeld Schouten-Lebbing
2021-09-06 00:27:14 +02:00
parent bdca6bcb4f
commit d8ba4a1a40

View File

@@ -79,8 +79,8 @@ RUN --mount=type=bind,from=builder,source=/buildtmp/vendor/output,target=/build
mkdir /usr/share/doc/sogo && \
touch /usr/share/doc/sogo/empty.sh && \
cd /build && \
apt-get install $(apt-cache depends sogo | sed 's/<[^>]*>//g' | awk '$1~/Depends/{printf $2" "}') && \
apt install ./*.deb && \
apt-get -y install $(apt-cache depends sogo | sed 's/<[^>]*>//g' | awk '$1~/Depends/{printf $2" "}') && \
apt install -y ./*.deb && \
apt-get install -f && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \