aboutsummaryrefslogtreecommitdiffstats
path: root/containers/docker
diff options
context:
space:
mode:
Diffstat (limited to 'containers/docker')
-rw-r--r--containers/docker/develop-alpine/Dockerfile3
-rw-r--r--containers/docker/master-alpine/Dockerfile2
2 files changed, 2 insertions, 3 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 && \
diff --git a/containers/docker/master-alpine/Dockerfile b/containers/docker/master-alpine/Dockerfile
index ffccd43e2..fa529671e 100644
--- a/containers/docker/master-alpine/Dockerfile
+++ b/containers/docker/master-alpine/Dockerfile
@@ -2,7 +2,7 @@ FROM alpine:3.4
RUN \
apk add --update go git make gcc musl-dev && \
- git clone 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 && \