-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #400 from OffchainLabs/develop
Release Develop Branch
- Loading branch information
Showing
997 changed files
with
224,843 additions
and
113,653 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,18 @@ | ||
### -------------------------------------------------------------------- | ||
### Dockerfile | ||
### arb-validator | ||
### Note: run depends on mounting `/home/user/contract.ao` as a volume | ||
### cpp-base | ||
### -------------------------------------------------------------------- | ||
|
||
# FROM alpine:3.10 | ||
# # Alpine dependencies | ||
# RUN apk update && apk add --no-cache bash boost-dev cmake curl findutils g++ git \ | ||
# make musl-dev perl python3 python3-dev && \ | ||
# apk add rocksdb-dev --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ && \ | ||
# pip3 install --upgrade pip && \ | ||
# pip3 install conan && \ | ||
# addgroup -g 1000 -S user && \ | ||
# adduser -u 1000 -S user -G user -s /bin/ash -h /home/user && \ | ||
# mkdir -p /usr/local/etc && \ | ||
# chown -R user:user /usr/local/bin /usr/local/share /usr/local/etc | ||
# USER user | ||
# WORKDIR "/home/user/" | ||
# RUN wget https://codecov.io/bash && chmod +x bash && \ | ||
# mv bash /usr/local/bin/codecovbash && \ | ||
# conan profile new default --detect && \ | ||
# conan profile update settings.compiler.libcxx=libstdc++11 default && \ | ||
# conan remote add nonstd-lite https://api.bintray.com/conan/martinmoene/nonstd-lite && \ | ||
# wget http://downloads.sourceforge.net/ltp/lcov-1.14.tar.gz && \ | ||
# tar -xvf lcov-1.14.tar.gz && cd lcov-1.14 && make install | ||
|
||
FROM debian:buster-slim | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && \ | ||
apt-get install -y cmake curl git g++ libboost-dev libboost-filesystem-dev \ | ||
lcov librocksdb-dev make python3 python3-dev python3-pip && \ | ||
lcov librocksdb-dev make libgmp-dev libssl-dev \ | ||
autotools-dev dh-autoreconf && \ | ||
rm -rf /var/lib/apt/lists/* && \ | ||
python3 -m pip install --upgrade pip && \ | ||
pip3 install conan && \ | ||
useradd -ms /bin/bash user | ||
USER user | ||
WORKDIR /home/user/ | ||
ENV PATH="/home/user/go/bin:/home/user/bin:/home/user/.local/bin:/home/user/.yarn/bin:${PATH}" | ||
RUN mkdir bin && curl -s https://codecov.io/bash > ~/bin/codecovbash && \ | ||
chmod +x /home/user/bin/codecovbash && \ | ||
conan profile new default --detect && \ | ||
conan profile update settings.compiler.libcxx=libstdc++11 default && \ | ||
conan remote add nonstd-lite https://api.bintray.com/conan/martinmoene/nonstd-lite | ||
chmod +x /home/user/bin/codecovbash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
FROM ethereum/client-go:stable | ||
|
||
RUN apk add --no-cache bash curl findutils git mercurial nodejs npm psmisc python2 sudo && \ | ||
RUN apk add --no-cache bash curl findutils git mercurial nodejs npm psmisc python2 sudo make g++ && \ | ||
addgroup -g 1000 -S user && \ | ||
adduser -u 1000 -S user -G user -s /bin/ash -h /home/user | ||
USER user | ||
WORKDIR /home/user/ | ||
ENV PATH="/home/user/bin:/home/user/.local/bin:/home/user/.npm-global/bin:${PATH}" | ||
RUN mkdir -p /home/user/.npm-global && \ | ||
npm config set prefix "/home/user/.npm-global" && \ | ||
npm install -g truffle yarn && \ | ||
npm install -g yarn && \ | ||
mkdir bin && curl -s https://codecov.io/bash > ~/bin/codecovbash && \ | ||
chmod +x /home/user/bin/codecovbash | ||
ENTRYPOINT ["/bin/ash"] |
Oops, something went wrong.