aboutsummaryrefslogtreecommitdiffstats
path: root/containers
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 /containers
parent0850f68fd17586370b102aa516739476db4913c2 (diff)
downloadgo-tangerine-09aef5c0ae697cf41540ae7f111317448d5db0d2.tar
go-tangerine-09aef5c0ae697cf41540ae7f111317448d5db0d2.tar.gz
go-tangerine-09aef5c0ae697cf41540ae7f111317448d5db0d2.tar.bz2
go-tangerine-09aef5c0ae697cf41540ae7f111317448d5db0d2.tar.lz
go-tangerine-09aef5c0ae697cf41540ae7f111317448d5db0d2.tar.xz
go-tangerine-09aef5c0ae697cf41540ae7f111317448d5db0d2.tar.zst
go-tangerine-09aef5c0ae697cf41540ae7f111317448d5db0d2.zip
Dockerfile: support building USB on Alpine, ignore temp files
Diffstat (limited to 'containers')
-rw-r--r--containers/docker/develop-alpine/Dockerfile4
-rw-r--r--containers/docker/master-alpine/Dockerfile4
2 files changed, 4 insertions, 4 deletions
diff --git a/containers/docker/develop-alpine/Dockerfile b/containers/docker/develop-alpine/Dockerfile
index a8d85bc63..d239129d5 100644
--- a/containers/docker/develop-alpine/Dockerfile
+++ b/containers/docker/develop-alpine/Dockerfile
@@ -1,11 +1,11 @@
FROM alpine:3.5
RUN \
- apk add --update go git make gcc musl-dev ca-certificates && \
+ apk add --update go git make gcc musl-dev linux-headers ca-certificates && \
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 && \
+ apk del go git make gcc musl-dev linux-headers && \
rm -rf /go-ethereum && rm -rf /var/cache/apk/*
EXPOSE 8545
diff --git a/containers/docker/master-alpine/Dockerfile b/containers/docker/master-alpine/Dockerfile
index 0db583a43..3c72bc8c8 100644
--- a/containers/docker/master-alpine/Dockerfile
+++ b/containers/docker/master-alpine/Dockerfile
@@ -1,11 +1,11 @@
FROM alpine:3.5
RUN \
- apk add --update go git make gcc musl-dev ca-certificates && \
+ apk add --update go git make gcc musl-dev linux-headers ca-certificates && \
git clone --depth 1 --branch release/1.5 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 && \
+ apk del go git make gcc musl-dev linux-headers && \
rm -rf /go-ethereum && rm -rf /var/cache/apk/*
EXPOSE 8545