-
-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add dockerfile for automated builds to dockerhub (#165)
* feat: added dockerfile * docs: added installing via docker and link to docker repo * fix: moved dockerfile to Dockerfile * perf: pinned versions, removed python-is-python3, changed -y to --yes * feat: entrypoint * fix: docker copy ape and build from . * perf: reduce layers, add dockerfile, build from ., add entrypoint
- Loading branch information
1 parent
3e7b237
commit 1edcc2d
Showing
3 changed files
with
17 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
./tests | ||
./docs | ||
./.github |
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,10 @@ | ||
FROM ubuntu:20.04 | ||
RUN apt-get update && apt-get upgrade --yes && apt-get install git python3.8 python3-pip --yes | ||
COPY . . | ||
RUN python3 ./setup.py install | ||
RUN ape plugins add solidity --yes | ||
RUN ape plugins add vyper --yes | ||
RUN ape plugins add infura --yes | ||
RUN ape plugins add etherscan --yes | ||
RUN ape plugins add ens --yes | ||
ENTRYPOINT ["ape"] |
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