InSpec removed, so rebase to just Debian
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2022-04-19 14:00:14 +02:00
parent 5601e13bad
commit d42a672e3b

View File

@ -17,7 +17,7 @@ RUN apk --update add --no-cache \
jq -r '.assets[] | select(.name | startswith("powershell-lts") and contains("deb_amd64")) | .browser_download_url' | \
xargs -I {} curl -L -o /tmp/packages-microsoft-prod.deb {}
FROM ruby:slim
FROM debian:11-slim
COPY --from=packer /bin/packer /bin/packer
COPY --from=terraform /bin/terraform /bin/terraform
@ -37,8 +37,6 @@ RUN dpkg -i /tmp/packages-microsoft-prod.deb || true && \
curl \
git \
jq \
# # (locales) Dependency for InSpec
# locales \
netcat-openbsd \
openssh-client \
powershell-lts \
@ -53,10 +51,6 @@ RUN dpkg -i /tmp/packages-microsoft-prod.deb || true && \
# (xorriso) Dependency for Packer (generating isofs image)
xorriso \
yamllint && \
# sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
# locale-gen && \
# curl https://omnitruck.chef.io/install.sh | bash -s -- -P inspec && \
# gem update --system && gem update && \
pip3 install --upgrade pip && \
pip3 install \
ansible-core \