Public Repository

Last pushed: 7 months ago
Short Description
ethereum/client-go:alpine images with solc complier
Full Description

tag 1.0:
Dockerfile:

FROM ethereum/client-go:alpine
MAINTAINER xuxiao415

RUN \
apk --no-cache --update add build-base cmake boost-dev git && \
sed -i -E -e 's/include <sys\/poll.h>/include <poll.h>/' /usr/include/boost/asio/detail/socket_types.hpp && \
git clone --depth 1 --recursive -b release 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/*

tag 1.1:
Dockerfile:

FROM xuxiao415/ethereum-go:alpine
MAINTAINER xuxiao415 "xuxiao415@foxmail.com"

RUN \
apk --no-cache --update add build-base cmake boost-dev git && \
sed -i -E -e 's/include <sys\/poll.h>/include <poll.h>/' /usr/include/boost/asio/detail/socket_types.hpp && \
git clone --depth 1 --recursive -b release 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/*

WORKDIR /PrivateChainData

COPY ./genesis.json ./
COPY ./nodes-connection.sh ./
COPY ./account-password.txt ./

RUN chmod a+x ./nodes-connection.sh && mkdir ./nodes
CMD /PrivateChainData/nodes-connection.sh

Docker Pull Command
Owner
xuxiao415