mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
fix
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
90bede2f81
commit
e80cb8adcf
|
@ -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}"'"'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user