🎉 ÇA MARCHE EN ALPINE git add .!
This commit is contained in:
parent
b0cb5d6453
commit
b1c01334af
2 changed files with 7 additions and 7 deletions
|
|
@ -1,14 +1,13 @@
|
|||
FROM debian:bookworm-slim
|
||||
FROM alpine:3.21
|
||||
|
||||
RUN apt-get update && apt-get install -y postfix mailutils
|
||||
RUN apk add --no-cache postfix bash
|
||||
|
||||
COPY ../share/users.txt /tmp/users.txt
|
||||
COPY ../share/postfix.sh /tmp/postfix.sh
|
||||
COPY postfix/main.cf /etc/postfix/main.cf
|
||||
COPY postfix/entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod 644 /etc/postfix/main.cf && \
|
||||
chmod +x /tmp/postfix.sh /entrypoint.sh && \
|
||||
RUN chmod +x /tmp/postfix.sh /entrypoint.sh && \
|
||||
/tmp/postfix.sh > /etc/postfix/virtual_mailbox && \
|
||||
postmap /etc/postfix/virtual_mailbox && \
|
||||
rm /tmp/users.txt /tmp/postfix.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue