# Image with dependencies required to build projects from the bridge repo. # # This image is meant to be used as a building block when building images for # the various components in the bridge repo, such as nodes and relayers. FROM ubuntu:20.04 ENV LAST_DEPS_UPDATE 2021-04-01 ENV DEBIAN_FRONTEND=noninteractive RUN set -eux; \ apt-get update && \ apt-get install -y curl ca-certificates && \ apt-get install -y cmake pkg-config libssl-dev git clang libclang-dev ENV LAST_CERTS_UPDATE 2021-04-01 RUN update-ca-certificates && \ curl https://sh.rustup.rs -sSf | sh -s -- -y ENV PATH="/root/.cargo/bin:${PATH}" ENV LAST_RUST_UPDATE 2021-04-01 RUN rustup update stable && \ rustup install nightly && \ rustup target add wasm32-unknown-unknown --toolchain nightly RUN rustc -vV && \ cargo -V && \ gcc -v && \ cmake --version ENV RUST_BACKTRACE 1