Skip to content

Commit

Permalink
containers/docker: Fix dockerfiles for new branch layout; add dockerf…
Browse files Browse the repository at this point in the history
…ile in root
  • Loading branch information
Arachnid committed Nov 15, 2016
1 parent 4dd3e7f commit 5048150
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM alpine:3.3

ADD . /go-ethereum
RUN \
apk add --update go make gcc musl-dev && \
(cd go-ethereum && make geth) && \
cp go-ethereum/build/bin/geth /geth && \
apk del go make gcc musl-dev && \
rm -rf /go-ethereum && rm -rf /var/cache/apk/*

EXPOSE 8545
EXPOSE 30303

ENTRYPOINT ["/geth"]
2 changes: 1 addition & 1 deletion containers/docker/develop-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:3.4

RUN \
apk add --update go git make gcc musl-dev && \
git clone --depth 1 --branch develop https://github.com/ethereum/go-ethereum && \
git clone --depth 1 https://github.com/ethereum/go-ethereum && \
(cd go-ethereum && make geth) && \
cp go-ethereum/build/bin/geth /geth && \
apk del go git make gcc musl-dev && \
Expand Down
2 changes: 1 addition & 1 deletion containers/docker/master-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:3.4

RUN \
apk add --update go git make gcc musl-dev && \
git clone --depth 1 https://github.com/ethereum/go-ethereum && \
git clone --depth 1 --branch release/1.5 https://github.com/ethereum/go-ethereum && \
(cd go-ethereum && make geth) && \
cp go-ethereum/build/bin/geth /geth && \
apk del go git make gcc musl-dev && \
Expand Down

0 comments on commit 5048150

Please sign in to comment.