feat(ci): remove protoc installation where possible

We only retain it for the test job which runs `cargo semver-checks` which may need to build the rustdoc for the baseline version which still requires `protoc` to be installed until we make the next round of releases.

Pull-Request: #3592.
This commit is contained in:
Thomas Eizinger
2023-03-13 19:01:47 +11:00
committed by GitHub
parent b11e53fe62
commit ab35c55fc9
4 changed files with 0 additions and 37 deletions

View File

@@ -1,11 +1,6 @@
# syntax=docker/dockerfile:1.5-labs
FROM rust:1.67.0
# Setup protoc. TODO this breaks reproducibility and uses an old version of protoc.
# In the future protobuf generated files will be checked in, so we can remove this
WORKDIR /protoc-setup
RUN apt-get update && apt-get install -y cmake
# Run with access to the target cache to speed up builds
WORKDIR /workspace
ADD . .