-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
18 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,20 @@ | ||
FROM ruby:2.7.1 | ||
|
||
WORKDIR /home | ||
USER root | ||
|
||
# Install and setup mail | ||
RUN apt update | ||
RUN apt-get install -y bsd-mailx | ||
RUN apt-get install -y sendmail | ||
|
||
WORKDIR /etc/mail | ||
|
||
RUN echo \"AuthInfo:smtp.domain.com "U:USERNAME" "P:PASSWORD" "M:PLAIN"\" > authinfo | ||
RUN makemap hash authinfo < authinfo | ||
RUN make | ||
|
||
WORKDIR /home/cybersource | ||
|
||
COPY . . | ||
|
||
RUN bundle install |
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