try a more solid way of guessing future dependencies
This commit is contained in:
@@ -80,7 +80,7 @@ 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 -y install $(apt-cache depends sogo | sed 's/<[^>]*>//g' | awk '$1~/Depends/{printf $2" "}') && \
|
||||
(echo "$(dpkg-deb -I _sogo_${VERSION}_amd64.deb | grep -E "Depends" | tr -d "|," | sed "s/([^)]*)/()/g" | tr -d "()" | tr " " "\n" | grep -Ev "Depends|Recommends|Suggests|Pre\-Depends|sogo|sope" | xargs)" | xargs -n 1 apt-get install -y || true) && \
|
||||
apt install -y ./*.deb && \
|
||||
apt-get install -f && \
|
||||
apt-get clean && \
|
||||
|
||||
Reference in New Issue
Block a user