Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
Bump packer to v1.8.5 (fixes #4)
Browse files Browse the repository at this point in the history
Upgrade ansible to v7.2.0 and ansible-lint to v6.11.0
  • Loading branch information
tdpauw committed Feb 2, 2023
1 parent cd6d374 commit c18d1dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ansible/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.8.3-ansible-6.3.0-1
v1.8.5-ansible-7.2.0
10 changes: 4 additions & 6 deletions ansible/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM alpine:edge

ARG PLATFORM=linux_amd64
ARG PACKER_VERSION=1.8.3
ARG PACKER_VERSION=1.8.5
ARG PACKER_DIST_FILENAME=packer_${PACKER_VERSION}_${PLATFORM}.zip
ARG PACKER_DIST_CHECKSUM_FILENAME=packer_${PACKER_VERSION}_SHA256SUMS
ARG ANSIBLE_VERSION=6.3.0-r0
ARG ANSIBLE_LINT_VERSION=6.5.1-r0
ARG ANSIBLE_VERSION=7.2.0-r0
ARG ANSIBLE_LINT_VERSION=6.11.0-r0

LABEL org.opencontainers.image.description="Hashicorp Packer with Ansible" \
org.opencontainers.image.authors="ThinkingLabs (hello@thinkinglabs.io)" \
Expand All @@ -18,6 +18,4 @@ RUN wget https://releases.hashicorp.com/packer/${PACKER_VERSION}/${PACKER_DIST_F
&& set -o pipefail && grep ${PLATFORM} ${PACKER_DIST_CHECKSUM_FILENAME} | sha256sum -c - \
&& unzip ${PACKER_DIST_FILENAME} -d /usr/local/bin \
&& rm ${PACKER_DIST_FILENAME} ${PACKER_DIST_CHECKSUM_FILENAME} \
&& apk add --no-cache ansible=${ANSIBLE_VERSION} ansible-lint=${ANSIBLE_LINT_VERSION} py3-pip jq make \
&& pip install filelock \
&& apk del py3-pip
&& apk add --no-cache ansible=${ANSIBLE_VERSION} ansible-lint=${ANSIBLE_LINT_VERSION} py3-filelock jq make

0 comments on commit c18d1dd

Please sign in to comment.