From 5c662022a795e28f9eeeca6e8de4d0024c0b289c Mon Sep 17 00:00:00 2001 From: chriseth Date: Thu, 24 Nov 2016 21:48:16 +0100 Subject: Alpine base docker file. --- scripts/Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 scripts/Dockerfile (limited to 'scripts/Dockerfile') diff --git a/scripts/Dockerfile b/scripts/Dockerfile new file mode 100644 index 00000000..e34436ed --- /dev/null +++ b/scripts/Dockerfile @@ -0,0 +1,12 @@ +FROM alpine +MAINTAINER chriseth + +RUN \ + apk --no-cache --update add build-base cmake boost-dev git && \ + sed -i -E -e 's/include /include /' /usr/include/boost/asio/detail/socket_types.hpp && \ + git clone --depth 1 --recursive -b develop https://github.com/ethereum/solidity && \ + cd /solidity && cmake -DCMAKE_BUILD_TYPE=Release -DTESTS=0 -DSTATIC_LINKING=1 && \ + cd /solidity && make solc && install -s solc/solc /usr/bin && \ + cd / && rm -rf solidity && \ + apk del sed build-base git make cmake gcc g++ musl-dev curl-dev boost-dev && \ + rm -rf /var/cache/apk/* -- cgit