From 31e473a23a832b528a20ead467f7a6199e1ea94f Mon Sep 17 00:00:00 2001 From: Justin Date: Tue, 25 Jul 2023 11:53:17 +1200 Subject: [PATCH] Include protobuf complier when build docker --- scripts/Dockerfile_dev | 5 +++-- scripts/Dockerfile_pioneer | 5 +++-- scripts/Dockerfile_tewai | 3 ++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/scripts/Dockerfile_dev b/scripts/Dockerfile_dev index fe6159622..605519a31 100644 --- a/scripts/Dockerfile_dev +++ b/scripts/Dockerfile_dev @@ -5,8 +5,9 @@ RUN rustup default nightly-2022-11-15 && \ rustup target add wasm32-unknown-unknown --toolchain nightly-2022-11-15 RUN apt-get update && \ - apt-get dist-upgrade -y -o Dpkg::Options::="--force-confold" && \ - apt-get install -y cmake pkg-config libssl-dev git clang libclang-dev + apt-get dist-upgrade -y -o Dpkg::Options::="--force-confold" && \ + apt-get install -y cmake pkg-config libssl-dev git clang libclang-dev protobuf-compiler + ARG GIT_COMMIT= ENV GIT_COMMIT=$GIT_COMMIT diff --git a/scripts/Dockerfile_pioneer b/scripts/Dockerfile_pioneer index d5d766cd2..3124a982c 100644 --- a/scripts/Dockerfile_pioneer +++ b/scripts/Dockerfile_pioneer @@ -5,8 +5,9 @@ RUN rustup default nightly-2022-11-15 && \ rustup target add wasm32-unknown-unknown --toolchain nightly-2022-11-15 RUN apt-get update && \ - apt-get dist-upgrade -y -o Dpkg::Options::="--force-confold" && \ - apt-get install -y cmake pkg-config libssl-dev git clang libclang-dev + apt-get dist-upgrade -y -o Dpkg::Options::="--force-confold" && \ + apt-get install -y cmake pkg-config libssl-dev git clang libclang-dev protobuf-compiler + ARG GIT_COMMIT= ENV GIT_COMMIT=$GIT_COMMIT diff --git a/scripts/Dockerfile_tewai b/scripts/Dockerfile_tewai index 58ee63966..29d2fc942 100644 --- a/scripts/Dockerfile_tewai +++ b/scripts/Dockerfile_tewai @@ -15,7 +15,8 @@ COPY . /metaverse RUN apt-get update && \ apt-get dist-upgrade -y -o Dpkg::Options::="--force-confold" && \ - apt-get install -y cmake pkg-config libssl-dev git clang libclang-dev + apt-get install -y cmake pkg-config libssl-dev git clang libclang-dev protobuf-compiler + RUN curl https://sh.rustup.rs -sSf | sh -s -- -y && \ export PATH="$PATH:$HOME/.cargo/bin" && \