-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from magento-commerce/develop
MCLOUD-9275: Cloud Tools Release
- Loading branch information
Showing
38 changed files
with
429 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# | ||
# MailHog Dockerfile | ||
# | ||
|
||
FROM golang:1.17.9-alpine | ||
|
||
# Install MailHog: | ||
RUN apk --no-cache add --virtual build-dependencies \ | ||
git \ | ||
&& mkdir -p /root/gocode \ | ||
&& export GOPATH=/root/gocode \ | ||
&& go get github.com/mailhog/MailHog@v1.0.1 \ | ||
&& mv /root/gocode/bin/MailHog /usr/local/bin \ | ||
&& rm -rf /root/gocode \ | ||
&& apk del --purge build-dependencies | ||
|
||
# Add mailhog user/group with uid/gid 1000. | ||
# This is a workaround for boot2docker issue #581, see | ||
# https://github.com/boot2docker/boot2docker/issues/581 | ||
RUN adduser -D -u 1000 mailhog | ||
|
||
USER mailhog | ||
|
||
WORKDIR /home/mailhog | ||
|
||
ENTRYPOINT ["MailHog"] | ||
|
||
# Expose the SMTP and HTTP ports: | ||
EXPOSE 1025 8025 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.