diff options
author | yep <yep171@yahoo.com> | 2016-07-25 22:28:40 +0800 |
---|---|---|
committer | yep <yep171@yahoo.com> | 2016-07-25 22:38:46 +0800 |
commit | 4c1abcb0ce057e1df989256e757407ccb2e5d498 (patch) | |
tree | 93807096361858a242ac919621a5800fcc24ad50 /containers/docker/develop-alpine/Dockerfile | |
parent | 3e3a79ea136325102e63e962c122da5b44cd9bd5 (diff) | |
download | dexon-4c1abcb0ce057e1df989256e757407ccb2e5d498.tar.gz dexon-4c1abcb0ce057e1df989256e757407ccb2e5d498.tar.zst dexon-4c1abcb0ce057e1df989256e757407ccb2e5d498.zip |
containers/docker: use shallow clone of single branch
Diffstat (limited to 'containers/docker/develop-alpine/Dockerfile')
-rw-r--r-- | containers/docker/develop-alpine/Dockerfile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/containers/docker/develop-alpine/Dockerfile b/containers/docker/develop-alpine/Dockerfile index 70aee9f0f..7f3b7f8c5 100644 --- a/containers/docker/develop-alpine/Dockerfile +++ b/containers/docker/develop-alpine/Dockerfile @@ -2,8 +2,7 @@ FROM alpine:3.4 RUN \ apk add --update go git make gcc musl-dev && \ - git clone https://github.com/ethereum/go-ethereum && \ - (cd go-ethereum && git checkout develop) && \ + git clone --depth 1 --branch develop 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 && \ |