Allow dpkg to fail so apt can install missing dependencies
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2021-06-17 11:03:49 +02:00
parent 0a8000bbe7
commit e218e28667

View File

@ -28,9 +28,9 @@ ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en 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 && \ RUN dpkg -i /tmp/packages-microsoft-prod.deb || true && \
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 \ apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends -f \
# (build-essential) Dependency for installation of InSpec # (build-essential) Dependency for installation of InSpec
build-essential \ build-essential \
curl \ curl \