-
Notifications
You must be signed in to change notification settings - Fork 714
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 #711 from rawkode/bugfix/docker-ddev
Cleanup Dockerfile's
- Loading branch information
Showing
4 changed files
with
29 additions
and
35 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,23 +1,19 @@ | ||
FROM python:3.6-alpine | ||
|
||
WORKDIR /root | ||
|
||
ENV OAI_SPEC_URL="https://raw.githubusercontent.com/sendgrid/sendgrid-oai/master/oai_stoplight.json" | ||
ENV SENDGRID_API_KEY $SENDGRID_API_KEY | ||
|
||
RUN apk add --no-cache curl | ||
RUN apk add --update bash && rm -rf /var/cache/apk/* | ||
RUN apk add --update --no-cache bash curl | ||
|
||
# install Prism | ||
WORKDIR /root | ||
# Install Prism | ||
ADD https://raw.githubusercontent.com/stoplightio/prism/master/install.sh install.sh | ||
RUN chmod +x ./install.sh && sync && \ | ||
./install.sh && \ | ||
rm ./install.sh | ||
|
||
# set up default sendgrid env | ||
WORKDIR /root | ||
RUN sync && bash install.sh | ||
|
||
# Set up default SendGrid env | ||
RUN mkdir sendgrid-python | ||
COPY entrypoint.sh entrypoint.sh | ||
RUN chmod +x entrypoint.sh | ||
ENTRYPOINT ["./entrypoint.sh"] | ||
|
||
ENTRYPOINT ["entrypoint.sh"] | ||
CMD ["--mock"] |
Empty file.
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
Empty file.