diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-01-31 21:08:52 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-01-31 21:08:52 +0800 |
commit | aed25640a42bfafd33abd0fab1e9b021bc9c32a0 (patch) | |
tree | 153a0873c49e3ae0a949be91f0a40de4d54e5cd1 | |
parent | 528dcc3814aa1ee5bfcf3812aa4085f45a6623c4 (diff) | |
parent | f9b2fd79e8b5996479fdb4db5c2d24470802eff0 (diff) | |
download | go-tangerine-aed25640a42bfafd33abd0fab1e9b021bc9c32a0.tar go-tangerine-aed25640a42bfafd33abd0fab1e9b021bc9c32a0.tar.gz go-tangerine-aed25640a42bfafd33abd0fab1e9b021bc9c32a0.tar.bz2 go-tangerine-aed25640a42bfafd33abd0fab1e9b021bc9c32a0.tar.lz go-tangerine-aed25640a42bfafd33abd0fab1e9b021bc9c32a0.tar.xz go-tangerine-aed25640a42bfafd33abd0fab1e9b021bc9c32a0.tar.zst go-tangerine-aed25640a42bfafd33abd0fab1e9b021bc9c32a0.zip |
Merge pull request #2164 from karalabe/add-alpine-images
containers: regroup and add Alpine images (31 MB)
-rw-r--r-- | containers/docker/develop-alpine/Dockerfile | 15 | ||||
-rw-r--r-- | containers/docker/develop-ubuntu/Dockerfile (renamed from docker/develop/Dockerfile) | 0 | ||||
-rw-r--r-- | containers/docker/master-alpine/Dockerfile | 14 | ||||
-rw-r--r-- | containers/docker/master-ubuntu/Dockerfile (renamed from docker/master/Dockerfile) | 0 |
4 files changed, 29 insertions, 0 deletions
diff --git a/containers/docker/develop-alpine/Dockerfile b/containers/docker/develop-alpine/Dockerfile new file mode 100644 index 000000000..6b00bf253 --- /dev/null +++ b/containers/docker/develop-alpine/Dockerfile @@ -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"] diff --git a/docker/develop/Dockerfile b/containers/docker/develop-ubuntu/Dockerfile index 98b4aadf8..98b4aadf8 100644 --- a/docker/develop/Dockerfile +++ b/containers/docker/develop-ubuntu/Dockerfile diff --git a/containers/docker/master-alpine/Dockerfile b/containers/docker/master-alpine/Dockerfile new file mode 100644 index 000000000..7a4c535fd --- /dev/null +++ b/containers/docker/master-alpine/Dockerfile @@ -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"] diff --git a/docker/master/Dockerfile b/containers/docker/master-ubuntu/Dockerfile index 2c6de28c9..2c6de28c9 100644 --- a/docker/master/Dockerfile +++ b/containers/docker/master-ubuntu/Dockerfile |