From 2939f6fdcd76c3c8e0e37c6268aad37bb4428cc5 Mon Sep 17 00:00:00 2001 From: Edmund Haselwanter Date: Wed, 21 Sep 2022 16:02:37 +0200 Subject: [PATCH] update resent versions of tooling + remove mondoo plugin (use new way) azure-cli might need some polish --- Dockerfile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index d856c7b..c29b026 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -ARG TERRAFORM_VERSION=1.0.11 -ARG MONDOO_VERSION=5.35.0 -ARG PACKER_VERSION=1.8.0 -ARG YQ_VERSION=4.23.1 +ARG TERRAFORM_VERSION=1.2.9 +ARG MONDOO_VERSION=6.15.0 +ARG PACKER_VERSION=1.8.3 +ARG YQ_VERSION=4.27.5 FROM docker.io/hashicorp/terraform:$TERRAFORM_VERSION as tf FROM docker.io/mondoo/client:$MONDOO_VERSION as mondoo @@ -12,10 +12,6 @@ FROM docker.io/hashicorp/packer:$PACKER_VERSION RUN apk add --no-cache aws-cli bash jq curl gettext ruby-dev ruby-bundler make gcc g++ libc-dev ansible-base musl-dev python3-dev py3-pip libffi-dev openssl-dev cargo -RUN mkdir -p ~/.packer.d/plugins \ - && curl https://releases.mondoo.io/packer-provisioner-mondoo/latest.json | jq -r '.files[] | select (.platform=="linux").filename' | xargs -n 1 curl | tar -xz > ~/.packer.d/plugins/packer-provisioner-mondoo \ - && chmod +x ~/.packer.d/plugins/packer-provisioner-mondoo - COPY --from=yq /usr/bin/yq /usr/local/bin/yq COPY --from=mondoo /usr/local/bin/mondoo /usr/local/bin/mondoo COPY --from=tf /bin/terraform /usr/local/bin/terraform