ensure postfix version
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2022-04-22 11:08:55 -03:00
parent 91df343623
commit f22cf1742b
2 changed files with 6 additions and 3 deletions

View file

@ -10,6 +10,7 @@ pipeline:
- latest - latest
build_args: build_args:
- ALPINE_VERSION=${ALPINE_VERSION} - ALPINE_VERSION=${ALPINE_VERSION}
- POSTFIX_VERSION=${POSTFIX_VERSION}
- BASE_IMAGE=registry.nulo.in/sutty/monit - BASE_IMAGE=registry.nulo.in/sutty/monit
secrets: secrets:
- docker_password - docker_password
@ -17,5 +18,6 @@ pipeline:
branch: antifascista branch: antifascista
event: push event: push
matrix: matrix:
ALPINE_VERSION: include:
- 3.15.4 - ALPINE_VERSION: 3.15.4
POSTFIX_VERSION: 3.6.6

View file

@ -1,9 +1,10 @@
ARG ALPINE_VERSION=3.13.6 ARG ALPINE_VERSION=3.13.6
ARG BASE_IMAGE=sutty/monit ARG BASE_IMAGE=sutty/monit
FROM ${BASE_IMAGE}:${ALPINE_VERSION} AS build FROM ${BASE_IMAGE}:${ALPINE_VERSION} AS build
ARG POSTFIX_VERSION=3.6.6
MAINTAINER "f <f@sutty.nl>" MAINTAINER "f <f@sutty.nl>"
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 install -dm 2750 -o root -g root /etc/ssl/private
RUN apk add --no-cache gnutls-utils RUN apk add --no-cache gnutls-utils