diff options
author | Jacob Evans <dekz@dekz.net> | 2018-06-18 19:50:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-18 19:50:35 +0800 |
commit | 190eafc30e2e444ed15b76217a6162ec04b33f73 (patch) | |
tree | b20cbad73ff7a069dc0f0ef43ebc0373c714ad02 /packages/devnet/Dockerfile | |
parent | d4ee0e862297c16f8ee62efccd31f1193052c64e (diff) | |
parent | 0c238448fda99c4d7997901d0fe4d72cb06b79cc (diff) | |
download | dexon-sol-tools-190eafc30e2e444ed15b76217a6162ec04b33f73.tar dexon-sol-tools-190eafc30e2e444ed15b76217a6162ec04b33f73.tar.gz dexon-sol-tools-190eafc30e2e444ed15b76217a6162ec04b33f73.tar.bz2 dexon-sol-tools-190eafc30e2e444ed15b76217a6162ec04b33f73.tar.lz dexon-sol-tools-190eafc30e2e444ed15b76217a6162ec04b33f73.tar.xz dexon-sol-tools-190eafc30e2e444ed15b76217a6162ec04b33f73.tar.zst dexon-sol-tools-190eafc30e2e444ed15b76217a6162ec04b33f73.zip |
Merge branch 'v2-prototype' into bug/contracts/eip712-191-prefix
Diffstat (limited to 'packages/devnet/Dockerfile')
-rw-r--r-- | packages/devnet/Dockerfile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/devnet/Dockerfile b/packages/devnet/Dockerfile new file mode 100644 index 000000000..8e276d605 --- /dev/null +++ b/packages/devnet/Dockerfile @@ -0,0 +1,25 @@ +FROM alpine:3.7 + +RUN \ + apk add --update go git make gcc musl-dev linux-headers ca-certificates && \ + # TODO(albrow): Change the Git URL and branch once we have all relvant PRs + # merged to upstream. + git clone --depth 1 --branch '0x-testing' https://github.com/0xProject/go-ethereum && \ + (cd go-ethereum && make geth) && \ + cp go-ethereum/build/bin/geth /geth && \ + apk del go git make gcc musl-dev linux-headers && \ + rm -rf /go-ethereum && rm -rf /var/cache/apk/* + +RUN mkdir ~/devnet +WORKDIR ~/devnet + +COPY genesis.json . +COPY node0/ ./node0 +COPY run.sh . + +RUN /geth --datadir node0/ init genesis.json + +EXPOSE 8501 +EXPOSE 30310 + +ENTRYPOINT ./run.sh |