fix: install protoc in rust Dockerfile

This commit is contained in:
alyssa 2024-06-16 22:07:20 +09:00
parent e415c6704f
commit 83e387f27b
2 changed files with 4 additions and 2 deletions

View file

@ -9,8 +9,10 @@ on:
branches: branches:
- main - main
paths: paths:
- 'lib/pklib/**' - 'lib/libpk/**'
- 'services/api/**' - 'services/api/**'
- '.github/workflows/rust.yml'
- 'Dockerfile.rust'
jobs: jobs:
deploy: deploy:

View file

@ -2,7 +2,7 @@ FROM alpine:latest AS builder
WORKDIR /build WORKDIR /build
RUN apk add rustup build-base RUN apk add rustup build-base protoc
# todo: arm64 target # todo: arm64 target
RUN rustup-init --default-host x86_64-unknown-linux-musl --default-toolchain stable --profile default -y RUN rustup-init --default-host x86_64-unknown-linux-musl --default-toolchain stable --profile default -y