aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-02-14 00:31:09 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-02-14 00:31:09 +0800
commit09aef5c0ae697cf41540ae7f111317448d5db0d2 (patch)
tree9ac85c7e65ee1d91ee7e4d07b08c5b094c57de35 /Dockerfile
parent0850f68fd17586370b102aa516739476db4913c2 (diff)
downloaddexon-09aef5c0ae697cf41540ae7f111317448d5db0d2.tar
dexon-09aef5c0ae697cf41540ae7f111317448d5db0d2.tar.gz
dexon-09aef5c0ae697cf41540ae7f111317448d5db0d2.tar.bz2
dexon-09aef5c0ae697cf41540ae7f111317448d5db0d2.tar.lz
dexon-09aef5c0ae697cf41540ae7f111317448d5db0d2.tar.xz
dexon-09aef5c0ae697cf41540ae7f111317448d5db0d2.tar.zst
dexon-09aef5c0ae697cf41540ae7f111317448d5db0d2.zip
Dockerfile: support building USB on Alpine, ignore temp files
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Dockerfile b/Dockerfile
index f24506f69..ae6870e31 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,11 +1,11 @@
-FROM alpine:3.3
+FROM alpine:3.5
ADD . /go-ethereum
RUN \
- apk add --update git go make gcc musl-dev && \
- (cd go-ethereum && make geth) && \
- cp go-ethereum/build/bin/geth /geth && \
- apk del git go make gcc musl-dev && \
+ apk add --update git go make gcc musl-dev linux-headers && \
+ (cd go-ethereum && make geth) && \
+ cp go-ethereum/build/bin/geth /geth && \
+ apk del git go make gcc musl-dev linux-headers && \
rm -rf /go-ethereum && rm -rf /var/cache/apk/*
EXPOSE 8545