From 5c3b6557cbac579991b923590fcc734b91d91d7a Mon Sep 17 00:00:00 2001 From: Automate Terraform Date: Tue, 22 Oct 2024 08:58:32 +0200 Subject: [PATCH] upgrade alpine, ansible and terraform to the latest versions --- deployment/docker/debug/Dockerfile | 6 +++--- deployment/docker/runner/Dockerfile | 8 ++++---- deployment/docker/server/Dockerfile | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/deployment/docker/debug/Dockerfile b/deployment/docker/debug/Dockerfile index df0e8fad7..e37f269c2 100644 --- a/deployment/docker/debug/Dockerfile +++ b/deployment/docker/debug/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.22-alpine3.18 as builder +FROM --platform=$BUILDPLATFORM golang:1.22-alpine3.20 as builder RUN go install github.com/go-delve/delve/cmd/dlv@latest @@ -25,7 +25,7 @@ RUN --mount=type=cache,target=/go/pkg \ task deps && \ task build:debug GOOS=${TARGETOS} GOARCH=${TARGETARCH} -FROM alpine:3.19 +FROM alpine:3.20 RUN apk add --no-cache -U \ bash curl git gnupg mysql-client openssh-client-default python3 python3-dev py3-pip rsync sshpass tar tini tzdata unzip wget zip build-base openssl-dev libffi-dev cargo && \ @@ -54,7 +54,7 @@ WORKDIR /home/semaphore USER 1001 # renovate: datasource=pypi depName=ansible -ENV ANSIBLE_VERSION 9.4.0 +ENV ANSIBLE_VERSION 10.5.0 RUN mkdir /opt/semaphore/venv diff --git a/deployment/docker/runner/Dockerfile b/deployment/docker/runner/Dockerfile index fb082a79a..e05ee3a52 100644 --- a/deployment/docker/runner/Dockerfile +++ b/deployment/docker/runner/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.22-alpine3.18 as builder +FROM --platform=$BUILDPLATFORM golang:1.22-alpine3.20 as builder RUN apk add --no-cache -U \ libc-dev curl nodejs npm git gcc zip unzip tar @@ -25,7 +25,7 @@ RUN --mount=type=cache,target=/go/pkg \ ENV OPENTOFU_VERSION="1.7.0" -ENV TERRAFORM_VERSION="1.8.2" +ENV TERRAFORM_VERSION="1.9.8" #ENV PULUMI_VERSION="3.116.1" RUN wget https://github.com/opentofu/opentofu/releases/download/v${OPENTOFU_VERSION}/tofu_${OPENTOFU_VERSION}_linux_${TARGETARCH}.tar.gz && \ @@ -45,7 +45,7 @@ RUN curl -O https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraf #RUN tar xf pulumi.tar.gz --strip-components=1 -C /usr/local/bin #RUN rm pulumi.tar.gz -FROM alpine:3.19 +FROM alpine:3.20 ARG TARGETARCH="amd64" @@ -77,7 +77,7 @@ RUN chown -R semaphore:0 /usr/local/bin/runner-wrapper && \ WORKDIR /home/semaphore # renovate: datasource=pypi depName=ansible -ENV ANSIBLE_VERSION 9.4.0 +ENV ANSIBLE_VERSION 10.5.0 ARG ANSIBLE_VENV_PATH=/opt/semaphore/apps/ansible/${ANSIBLE_VERSION}/venv RUN apk add --no-cache -U python3-dev build-base openssl-dev libffi-dev cargo && \ diff --git a/deployment/docker/server/Dockerfile b/deployment/docker/server/Dockerfile index 2e0e053ed..ea1421b64 100644 --- a/deployment/docker/server/Dockerfile +++ b/deployment/docker/server/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.22-alpine3.18 as builder +FROM --platform=$BUILDPLATFORM golang:1.22-alpine3.20 as builder RUN apk add --no-cache -U \ libc-dev curl nodejs npm git gcc zip unzip tar @@ -25,7 +25,7 @@ RUN --mount=type=cache,target=/go/pkg \ ENV OPENTOFU_VERSION="1.7.0" -ENV TERRAFORM_VERSION="1.8.2" +ENV TERRAFORM_VERSION="1.9.8" #ENV PULUMI_VERSION="3.116.1" RUN wget https://github.com/opentofu/opentofu/releases/download/v${OPENTOFU_VERSION}/tofu_${OPENTOFU_VERSION}_linux_${TARGETARCH}.tar.gz && \ @@ -45,11 +45,11 @@ RUN curl -O https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraf #RUN tar xf pulumi.tar.gz --strip-components=1 -C /usr/local/bin #RUN rm pulumi.tar.gz -FROM alpine:3.19 +FROM alpine:3.20 ARG TARGETARCH="amd64" # renovate: datasource=pypi depName=ansible -ENV ANSIBLE_VERSION 9.4.0 +ENV ANSIBLE_VERSION 10.5.0 ARG ANSIBLE_VENV_PATH=/opt/semaphore/apps/ansible/${ANSIBLE_VERSION}/venv RUN apk add --no-cache -U \