Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Replaced cpp-ethereum for aleth #5772

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions scripts/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# For running this container as non-root user, see
# https://github.com/ethereum/cpp-ethereum/blob/develop/scripts/docker-eth
# https://github.com/ethereum/aleth/blob/develop/scripts/docker-eth
# or call `docker run` like this:
#
## mkdir -p ~/.ethereum ~/.web3
Expand All @@ -22,13 +22,13 @@ RUN apk add --no-cache \
linux-headers \
leveldb-dev --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
&& sed -i -E -e 's|#warning|//#warning|' /usr/include/sys/poll.h \
&& git clone --recursive https://github.com/ethereum/cpp-ethereum --branch develop --single-branch --depth 1 \
&& git clone --recursive https://github.com/ethereum/aleth --branch develop --single-branch --depth 1 \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The branch should be master now.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pedrocns kindly do the needful.

&& mkdir /build && cd /build \
&& cmake /cpp-ethereum -DCMAKE_BUILD_TYPE=RelWithDebInfo -DTOOLS=Off -DTESTS=Off \
&& cmake /aleth -DCMAKE_BUILD_TYPE=RelWithDebInfo -DTOOLS=Off -DTESTS=Off \
&& make eth \
&& make install \
&& cd / && rm /build -rf \
&& rm /cpp-ethereum -rf \
&& rm /aleth -rf \
&& apk del .build-deps \
&& rm /var/cache/apk/* -f

Expand Down