mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix: install protoc in rust Dockerfile
This commit is contained in:
parent
e415c6704f
commit
83e387f27b
2 changed files with 4 additions and 2 deletions
4
.github/workflows/rust.yml
vendored
4
.github/workflows/rust.yml
vendored
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue