From f22cf1742b829cfa6b8300d4038eb1c0e89a7c52 Mon Sep 17 00:00:00 2001 From: f Date: Fri, 22 Apr 2022 11:08:55 -0300 Subject: [PATCH] ensure postfix version --- .woodpecker.yml | 6 ++++-- Dockerfile | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 5de9391..4c56c72 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -10,6 +10,7 @@ pipeline: - latest build_args: - ALPINE_VERSION=${ALPINE_VERSION} + - POSTFIX_VERSION=${POSTFIX_VERSION} - BASE_IMAGE=registry.nulo.in/sutty/monit secrets: - docker_password @@ -17,5 +18,6 @@ pipeline: branch: antifascista event: push matrix: - ALPINE_VERSION: - - 3.15.4 + include: + - ALPINE_VERSION: 3.15.4 + POSTFIX_VERSION: 3.6.6 diff --git a/Dockerfile b/Dockerfile index 7385a8b..373900c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,10 @@ ARG ALPINE_VERSION=3.13.6 ARG BASE_IMAGE=sutty/monit FROM ${BASE_IMAGE}:${ALPINE_VERSION} AS build +ARG POSTFIX_VERSION=3.6.6 MAINTAINER "f " -RUN apk add --no-cache postfix ca-certificates +RUN apk add --no-cache postfix~${POSTFIX_VERSION} ca-certificates RUN install -dm 2750 -o root -g root /etc/ssl/private RUN apk add --no-cache gnutls-utils