use new s6-rc layout [skip CI]

This commit is contained in:
Sebastian Hugentobler 2022-02-18 09:35:14 +01:00
parent ef2904e513
commit 631cb25eff
Signed by: shu
GPG key ID: BB32CF3CA052C2F0
12 changed files with 27 additions and 39 deletions

View file

@ -1,21 +1,5 @@
FROM alpine:3.14 as builder
RUN apk add --no-cache \
g++ \
make \
libmilter-dev \
spamassassin-client
RUN mkdir /tmp/spamass-milter
RUN wget -qO- https://download.savannah.gnu.org/releases/spamass-milt/spamass-milter-0.4.0.tar.gz | tar -xz -C /tmp/spamass-milter --strip 1
WORKDIR /tmp/spamass-milter
RUN ./configure && make
FROM thallian/confd-env:latest
COPY --from=builder /tmp/spamass-milter/spamass-milter /bin/spamass-milter
RUN apk add --no-cache \
postfix \
postfix-pgsql \