mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-11 15:32:41 +01:00
@@ -1,6 +1,9 @@
|
|||||||
FROM r.j3ss.co/curl
|
FROM r.j3ss.co/curl
|
||||||
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
||||||
|
|
||||||
|
RUN apk add --no-cache \
|
||||||
|
bash
|
||||||
|
|
||||||
COPY sendmail /usr/bin/sendmail
|
COPY sendmail /usr/bin/sendmail
|
||||||
|
|
||||||
ENTRYPOINT [ "sendmail" ]
|
ENTRYPOINT [ "sendmail" ]
|
||||||
|
|||||||
@@ -34,8 +34,8 @@ fi
|
|||||||
|
|
||||||
curl -sSL --user "api:${MAILGUN_API_KEY}" \
|
curl -sSL --user "api:${MAILGUN_API_KEY}" \
|
||||||
"https://api.mailgun.net/v3/${MAILGUN_DOMAIN_NAME}/messages" \
|
"https://api.mailgun.net/v3/${MAILGUN_DOMAIN_NAME}/messages" \
|
||||||
-F "from='Excited User <mailgun@"${MAILGUN_DOMAIN_NAME}">'" \
|
-F 'from="Excited User <mailgun@'"${MAILGUN_DOMAIN_NAME}"'>"' \
|
||||||
-F "to=${TO_NAME}" \
|
-F "to=${TO_NAME}" \
|
||||||
-F "to=${TO_EMAIL}" \
|
-F "to=${TO_EMAIL}" \
|
||||||
-F "subject='"${SUBJECT}"'" \
|
-F 'subject="'"${SUBJECT}"'"' \
|
||||||
-F "text='"${BODY}"'"
|
-F 'text="'"${BODY}"'"'
|
||||||
|
|||||||
Reference in New Issue
Block a user