Skip to content

Commit

Permalink
update resent versions of tooling + remove mondoo plugin (use new way)
Browse files Browse the repository at this point in the history
azure-cli might need some polish
  • Loading branch information
ehaselwanter authored Sep 21, 2022
1 parent 4385c5f commit 2939f6f
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 2939f6f

Please sign in to comment.