Add missing apt update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2023-01-03 09:34:13 +01:00
parent 6d62686091
commit 5c692b03d2

View File

@ -25,9 +25,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
gnupg && \
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | tee /etc/apt/trusted.gpg.d/microsoft.gpg && \
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > /etc/apt/trusted.gpg.d/microsoft.gpg && \
echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye main" > /etc/apt/sources.list.d/microsoft.list && \
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 \
# (build-essential) Dependency for installation of InSpec
build-essential \
git \