Skip to content

Commit

Permalink
Include protobuf complier when build docker
Browse files Browse the repository at this point in the history
  • Loading branch information
justinphamnz committed Jul 24, 2023
1 parent 682183f commit 31e473a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 3 additions & 2 deletions scripts/Dockerfile_dev
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions scripts/Dockerfile_pioneer
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion scripts/Dockerfile_tewai
Original file line number Diff line number Diff line change
Expand Up @@ -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" && \
Expand Down

0 comments on commit 31e473a

Please sign in to comment.