Skip to content

Commit

Permalink
fix(docker): install protoc in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth committed Jul 11, 2024
1 parent 7e61ab2 commit 7d14301
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/build-docker-image-and-binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ jobs:
ref: ${{ github.event.inputs.tag }}
submodules: recursive

- name: Install protoc
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[submodule "proto"]
path = proto
url = https://github.com/axelarnetwork/grpc-protobuf.git
branch = main
fetchRecurseSubmodules = true
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM rust:1.78.0-bullseye as builder

RUN set -ex \
&& apt-get update \
&& apt-get install -qq --no-install-recommends ca-certificates openssh-client git make
&& apt-get install -qq --no-install-recommends ca-certificates openssh-client git make protobuf-compiler

WORKDIR /tofnd

Expand Down

0 comments on commit 7d14301

Please sign in to comment.