Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b788f4f627 | |||
| 07b695d15b |
@@ -1,4 +1,3 @@
|
|||||||
gemini://gemini.tuxmachines.org:1965/feed.xml
|
|
||||||
gemini://joeac.net/gemlog/
|
gemini://joeac.net/gemlog/
|
||||||
gemini://idiomdrottning.org:1965/sub
|
gemini://idiomdrottning.org:1965/sub
|
||||||
gemini://spool-five.com:1965/gemlog/index.gmi
|
gemini://spool-five.com:1965/gemlog/index.gmi
|
||||||
|
|||||||
+7
-4
@@ -1,18 +1,21 @@
|
|||||||
FROM alpine:3.23
|
FROM alpine:3.23 AS build
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
RUN mkdir -p /var/msmtp
|
RUN mkdir -p /var/msmtp
|
||||||
RUN apk --update --no-cache add git autoconf automake build-base gettext gettext-dev gnutls-dev libtool make texinfo && \
|
RUN apk --update --no-cache add git autoconf automake build-base gettext-dev gnutls-dev libtool make texinfo && \
|
||||||
git clone https://github.com/marlam/msmtp.git --branch msmtp-1.8.32 --single-branch --depth 1
|
git clone https://github.com/marlam/msmtp.git --branch msmtp-1.8.32 --single-branch --depth 1
|
||||||
WORKDIR /msmtp
|
WORKDIR /msmtp
|
||||||
RUN autoreconf -fi && \
|
RUN autoreconf -fi && \
|
||||||
./configure && \
|
./configure && \
|
||||||
make && \
|
make && \
|
||||||
make install
|
make install && \
|
||||||
|
apk del git autoconf automake build-base gettext-dev gnutls-dev libtool make texinfo
|
||||||
|
|
||||||
|
FROM alpine:3.23 AS final
|
||||||
|
RUN apk --update --no-cache add gettext
|
||||||
|
COPY --from=build /usr/local/bin/msmtp /usr/local/bin/msmtpd /usr/local/bin/
|
||||||
ARG LOCAL_SMTP_PORT
|
ARG LOCAL_SMTP_PORT
|
||||||
EXPOSE $LOCAL_SMTP_PORT
|
EXPOSE $LOCAL_SMTP_PORT
|
||||||
|
|
||||||
COPY .msmtprc ./
|
COPY .msmtprc ./
|
||||||
|
|
||||||
CMD msmtpd \
|
CMD msmtpd \
|
||||||
|
|||||||
Reference in New Issue
Block a user