Built environment:
FROM phusion/baseimage:0.10.2
LABEL maintainer "[email protected]"
LABEL description="Prepare the dependencies for building ChainX binary"
ENV RUSTUP_HOME=/rust \
CARGO_HOME=/cargo \
PATH=/cargo/bin:/rust/bin:$PATH
RUN apt-get update && \
apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" dist-upgrade -y && \
apt-get install -y cmake pkg-config libssl-dev git clang
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path && \
rustup install nightly && \
rustup target add wasm32-unknown-unknown --toolchain nightly
docker pull chainxorg/chainx-base-builder:latest