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

This commit is contained in:
Danny Bessems 2021-06-17 11:08:14 +02:00
parent e218e28667
commit 6682f1306f
1 changed files with 2 additions and 1 deletions

View File

@ -29,8 +29,9 @@ ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN dpkg -i /tmp/packages-microsoft-prod.deb || true && \
apt-get update && apt-get install --fix-broken && \
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 \
curl \