feat: install protoc
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful

This commit is contained in:
Aravinth Manivannan 2023-12-30 14:18:15 +05:30
parent 59b847b740
commit 01d4c2fce3
Signed by: realaravinth
GPG key ID: F8F50389936984FF
2 changed files with 3 additions and 0 deletions

View file

@ -2,6 +2,8 @@ steps:
backend: backend:
image: rust image: rust
commands: commands:
- apt update
- apt-get install -y --no-install-recommends protobuf-compiler
- cargo build - cargo build
# - make migrate # - make migrate
# - make # - make

View file

@ -4,6 +4,7 @@
FROM rust:latest as rust FROM rust:latest as rust
WORKDIR /src WORKDIR /src
RUN apt update && apt-get install -y --no-install-recommends protobuf-compiler
COPY . . COPY . .
RUN cargo build --release RUN cargo build --release