Skip to content

Commit 610f588

Browse files
committed
chore: update protoc version to 27.3 in devcontainer and readme
1 parent f132a7e commit 610f588

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.devcontainer/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@ RUN rm /usr/bin/cc && ln -s /usr/bin/clang /usr/bin/cc
2121
# Install protoc - protobuf compiler
2222
# The one shipped with Alpine does not work
2323
ARG TARGETARCH
24-
ARG PROTOC_VERSION=25.2
24+
ARG PROTOC_VERSION=27.3
2525
RUN if [[ "$TARGETARCH" == "arm64" ]] ; then export PROTOC_ARCH=aarch_64; else export PROTOC_ARCH=x86_64; fi; \
2626
curl -Ls https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-${PROTOC_ARCH}.zip \
2727
-o /tmp/protoc.zip && \
2828
unzip -qd /opt/protoc /tmp/protoc.zip && \
2929
rm /tmp/protoc.zip && \
3030
ln -s /opt/protoc/bin/protoc /usr/bin/
3131

32-
# Install protoc v25.2+
33-
RUN curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v25.2/protoc-25.2-linux-x86_64.zip \
34-
&& unzip protoc-25.2-linux-x86_64.zip -d /usr/local \
35-
&& rm protoc-25.2-linux-x86_64.zip
32+
# Install protoc
33+
RUN curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip \
34+
&& unzip protoc-${PROTOC_VERSION}-linux-x86_64.zip -d /usr/local \
35+
&& rm protoc-${PROTOC_VERSION}-linux-x86_64.zip
3636

3737
# Switch to vscode user
3838
USER vscode

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ this repository may be used on the following networks:
5454
- [node.js](https://nodejs.org/) v20
5555
- [docker](https://docs.docker.com/get-docker/) v20.10+
5656
- [rust](https://www.rust-lang.org/tools/install) v1.80+, with wasm32 target (`rustup target add wasm32-unknown-unknown`)
57-
- [protoc - protobuf compiler](https://github.com/protocolbuffers/protobuf/releases) v25.2+
57+
- [protoc - protobuf compiler](https://github.com/protocolbuffers/protobuf/releases) v27.3+
5858
- if needed, set PROTOC environment variable to location of `protoc` binary
5959
- [wasm-bingen toolchain](https://rustwasm.github.io/wasm-bindgen/):
6060
- **IMPORTANT (OSX only)**: built-in `llvm` on OSX does not work, needs to be installed from brew:

0 commit comments

Comments
 (0)