Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (17 sloc) 894 Bytes
FROM ubuntu:18.04
WORKDIR /app
ARG TAG=master
#ARG http_proxy=http://192.168.199.84:8001/
#ARG https_proxy=http://192.168.199.84:8001/
RUN apt-get update && apt-get -y install autoconf cmake make automake libtool git libboost-all-dev libssl-dev g++ libcurl4-openssl-dev
RUN git clone https://github.com/bitshares/bitshares-core.git && cd bitshares-core && git checkout ${TAG} && git submodule update --init --recursive && cmake -DCMAKE_BUILD_TYPE=Release . && make -j16
FROM ubuntu:18.04
WORKDIR /app/
VOLUME /data_dir
EXPOSE 8090
RUN apt-get update && apt-get -y install libcurl4-openssl-dev && apt-get -y clean
COPY --from=0 /app/bitshares-core/programs/cli_wallet/cli_wallet .
COPY --from=0 /app/bitshares-core/programs/witness_node/witness_node .
COPY --from=0 /app/bitshares-core/programs/genesis_util/get_dev_key .
STOPSIGNAL SIGINT
CMD ["/app/witness_node", "--data-dir", "/data_dir"]
You can’t perform that action at this time.