mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 18:41:03 +00:00
3800575db4
* dockerfiles: upgrade to ubuntu:20.04; some chore * dockerfiles: fq container names
33 lines
887 B
Docker
33 lines
887 B
Docker
# 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 docker.io/library/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
|