forked from EOSIO/eos
-
Notifications
You must be signed in to change notification settings - Fork 0
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 EOSIO#142 from enumivo/staging
Staging
- Loading branch information
Showing
58 changed files
with
1,490 additions
and
683 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
FROM eosio/builder as builder | ||
FROM enumivo/builder as builder | ||
ARG branch=master | ||
|
||
RUN git clone -b $branch https://github.com/enumivo/enumivo.git --recursive \ | ||
&& cd eos && echo "$branch:$(git rev-parse HEAD)" > /etc/eosio-version \ | ||
&& cd enumivo && echo "$branch:$(git rev-parse HEAD)" > /etc/enumivo-version \ | ||
&& cmake -H. -B"/tmp/build" -GNinja -DCMAKE_BUILD_TYPE=Release -DWASM_ROOT=/opt/wasm -DCMAKE_CXX_COMPILER=clang++ \ | ||
-DCMAKE_C_COMPILER=clang -DCMAKE_INSTALL_PREFIX=/tmp/build -DSecp256k1_ROOT_DIR=/usr/local -DBUILD_MONGO_DB_PLUGIN=true \ | ||
&& cmake --build /tmp/build --target install && rm /tmp/build/bin/eosiocpp | ||
&& cmake --build /tmp/build --target install && rm /tmp/build/bin/enumivocpp | ||
|
||
|
||
FROM ubuntu:18.04 | ||
|
||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install openssl && rm -rf /var/lib/apt/lists/* | ||
COPY --from=builder /usr/local/lib/* /usr/local/lib/ | ||
COPY --from=builder /tmp/build/bin /opt/eosio/bin | ||
COPY --from=builder /tmp/build/bin /opt/enumivo/bin | ||
COPY --from=builder /tmp/build/contracts /contracts | ||
COPY --from=builder /eos/Docker/config.ini / | ||
COPY --from=builder /etc/eosio-version /etc | ||
COPY --from=builder /eos/Docker/nodeosd.sh /opt/eosio/bin/nodeosd.sh | ||
ENV ENUMIVO_ROOT=/opt/eosio | ||
RUN chmod +x /opt/eosio/bin/nodeosd.sh | ||
COPY --from=builder /enumivo/Docker/config.ini / | ||
COPY --from=builder /etc/enumivo-version /etc | ||
COPY --from=builder /enumivo/Docker/enunoded.sh /opt/enumivo/bin/enunoded.sh | ||
ENV ENUMIVO_ROOT=/opt/enumivo | ||
RUN chmod +x /opt/enumivo/bin/enunoded.sh | ||
ENV LD_LIBRARY_PATH /usr/local/lib | ||
VOLUME /opt/eosio/bin/data-dir | ||
ENV PATH /opt/eosio/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | ||
VOLUME /opt/enumivo/bin/data-dir | ||
ENV PATH /opt/enumivo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
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,7 +1,7 @@ | ||
FROM ubuntu:16.04 | ||
|
||
LABEL author="xiaobo <[email protected]>" maintainer="Xiaobo <[email protected]> Huang-Ming Huang <[email protected]>" version="0.1.1" \ | ||
description="This is a base image for building eosio/eos" | ||
description="This is a base image for building enumivo/enumivo" | ||
|
||
RUN echo 'APT::Install-Recommends 0;' >> /etc/apt/apt.conf.d/01norecommends \ | ||
&& echo 'APT::Install-Suggests 0;' >> /etc/apt/apt.conf.d/01norecommends \ | ||
|
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,17 +1,17 @@ | ||
FROM eosio/builder | ||
FROM enumivo/builder | ||
ARG branch=master | ||
|
||
RUN git clone -b $branch https://github.com/EOSIO/eos.git --recursive \ | ||
&& cd eos && echo "$branch:$(git rev-parse HEAD)" > /etc/eosio-version \ | ||
&& cmake -H. -B"/opt/eosio" -GNinja -DCMAKE_BUILD_TYPE=Release -DWASM_ROOT=/opt/wasm -DCMAKE_CXX_COMPILER=clang++ \ | ||
-DCMAKE_C_COMPILER=clang -DCMAKE_INSTALL_PREFIX=/opt/eosio -DSecp256k1_ROOT_DIR=/usr/local -DBUILD_MONGO_DB_PLUGIN=true \ | ||
&& cmake --build /opt/eosio --target install \ | ||
&& mv /eos/Docker/config.ini / && mv /opt/eosio/contracts /contracts && mv /eos/Docker/nodeosd.sh /opt/eosio/bin/nodeosd.sh \ | ||
&& rm -rf /eos | ||
RUN git clone -b $branch https://github.com/enumivo/enumivo.git --recursive \ | ||
&& cd enumivo && echo "$branch:$(git rev-parse HEAD)" > /etc/enumivo-version \ | ||
&& cmake -H. -B"/opt/enumivo" -GNinja -DCMAKE_BUILD_TYPE=Release -DWASM_ROOT=/opt/wasm -DCMAKE_CXX_COMPILER=clang++ \ | ||
-DCMAKE_C_COMPILER=clang -DCMAKE_INSTALL_PREFIX=/opt/enumivo -DSecp256k1_ROOT_DIR=/usr/local -DBUILD_MONGO_DB_PLUGIN=true \ | ||
&& cmake --build /opt/enumivo --target install \ | ||
&& mv /enumivo/Docker/config.ini / && mv /opt/enumivo/contracts /contracts && mv /enumivo/Docker/enunoded.sh /opt/enumivo/bin/enunoded.sh \ | ||
&& rm -rf /enumivo | ||
|
||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install openssl && rm -rf /var/lib/apt/lists/* | ||
ENV EOSIO_ROOT=/opt/eosio | ||
RUN chmod +x /opt/eosio/bin/nodeosd.sh | ||
ENV ENUMIVO_ROOT=/opt/enumivo | ||
RUN chmod +x /opt/enumivo/bin/enunoded.sh | ||
ENV LD_LIBRARY_PATH /usr/local/lib | ||
VOLUME /opt/eosio/bin/data-dir | ||
ENV PATH /opt/eosio/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | ||
VOLUME /opt/enumivo/bin/data-dir | ||
ENV PATH /opt/enumivo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
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
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
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
Oops, something went wrong.