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 #7084 from jasongrout/dockerrelease
Docker release instructions
- Loading branch information
Showing
4 changed files
with
55 additions
and
9 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,16 @@ | ||
FROM python:3 | ||
|
||
WORKDIR /usr/src/app | ||
|
||
ARG GIT_AUTHOR_NAME | ||
ARG GIT_AUTHOR_EMAIL | ||
|
||
ENV GIT_AUTHOR_NAME=$GIT_AUTHOR_NAME | ||
ENV GIT_AUTHOR_EMAIL=$GIT_AUTHOR_EMAIL | ||
|
||
RUN git config --global user.name "$GIT_AUTHOR_NAME" | ||
RUN git config --global user.email "$GIT_AUTHOR_EMAIL" | ||
|
||
RUN apt-get update && apt-get install -y npm twine | ||
|
||
CMD ["bash"] |
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