-
Notifications
You must be signed in to change notification settings - Fork 349
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 #145 from ethereum/dev
`dev`->`master`
- Loading branch information
Showing
25 changed files
with
851 additions
and
216 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Prevent your local modules and debug logs from being | ||
# copied onto your Docker image and possibly overwriting | ||
# modules installed within your image | ||
.git | ||
__pycache__ |
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 |
---|---|---|
|
@@ -9,4 +9,5 @@ venv/ | |
*.mypy_cache | ||
*.egg-info | ||
*.egg | ||
__pycache__ | ||
__pycache__ | ||
.DS_Store |
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,19 @@ | ||
FROM python:3.7-alpine | ||
|
||
WORKDIR /app | ||
|
||
COPY requirements.txt setup.py ./ | ||
|
||
COPY eth2deposit ./eth2deposit | ||
|
||
RUN apk add --update gcc libc-dev linux-headers | ||
|
||
RUN pip3 install -r requirements.txt | ||
|
||
RUN python3 setup.py install | ||
|
||
ARG cli_command | ||
|
||
ENTRYPOINT [ "python3", "./eth2deposit/deposit.py" ] | ||
|
||
CMD [ $cli_command ] |
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.