Skip to content

Commit

Permalink
Merge pull request ethereum#2164 from karalabe/add-alpine-images
Browse files Browse the repository at this point in the history
containers: regroup and add Alpine images (31 MB)
  • Loading branch information
karalabe committed Jan 31, 2016
2 parents 528dcc3 + f9b2fd7 commit aed2564
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
15 changes: 15 additions & 0 deletions containers/docker/develop-alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM alpine:3.3

RUN \
apk add --update go git make gcc musl-dev && \
git clone https://github.com/ethereum/go-ethereum && \
(cd go-ethereum && git checkout develop) && \
(cd go-ethereum && make geth) && \
cp go-ethereum/build/bin/geth /geth && \
apk del go git make gcc musl-dev && \
rm -rf /go-ethereum && rm -rf /var/cache/apk/*

EXPOSE 8545
EXPOSE 30303

ENTRYPOINT ["/geth"]
File renamed without changes.
14 changes: 14 additions & 0 deletions containers/docker/master-alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM alpine:3.3

RUN \
apk add --update go git make gcc musl-dev gmp-dev && \
git clone 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 gmp-dev && \
rm -rf /go-ethereum && rm -rf /var/cache/apk/*

EXPOSE 8545
EXPOSE 30303

ENTRYPOINT ["/geth"]
File renamed without changes.

0 comments on commit aed2564

Please sign in to comment.