diff --git a/Dockerfile b/Dockerfile index 1a090e2..8e2d9b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates \ curl \ gnupg && \ - curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - && \ + curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /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 \ # (build-essential) Dependency for installation of InSpec @@ -35,7 +35,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ locales \ netcat-openbsd \ openssh-client \ - powershell \ + powershell-lts \ # (python3-*) Dependency for installation of Ansible python3-pip \ python3-setuptools \