From 01d4c2fce37c9c8e1792859b3c6db5cf8268884c Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Sat, 30 Dec 2023 14:18:15 +0530 Subject: [PATCH] feat: install protoc --- .woodpecker.yml | 2 ++ Dockerfile | 1 + 2 files changed, 3 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 2fed1d2..197b8b3 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,6 +2,8 @@ steps: backend: image: rust commands: + - apt update + - apt-get install -y --no-install-recommends protobuf-compiler - cargo build # - make migrate # - make diff --git a/Dockerfile b/Dockerfile index 5d5636b..21aeea4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ FROM rust:latest as rust WORKDIR /src +RUN apt update && apt-get install -y --no-install-recommends protobuf-compiler COPY . . RUN cargo build --release