Fix broken dependencies separately from installation of other packages
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2021-06-17 11:08:14 +02:00
parent e218e28667
commit 6682f1306f

View File

@ -29,8 +29,9 @@ ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8 ENV LC_ALL en_US.UTF-8
RUN dpkg -i /tmp/packages-microsoft-prod.deb || true && \ RUN dpkg -i /tmp/packages-microsoft-prod.deb || true && \
apt-get update && apt-get install --fix-broken && \
rm -f /tmp/packages-microsoft-prod.deb && \ rm -f /tmp/packages-microsoft-prod.deb && \
apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends -f \ apt-get upgrade -y && apt-get install -y --no-install-recommends \
# (build-essential) Dependency for installation of InSpec # (build-essential) Dependency for installation of InSpec
build-essential \ build-essential \
curl \ curl \