Skip to content

Apache DataFusion SQL Query Engine

chore(devcontainer): use debian's `protobuf-compiler` package (#16687)

Julius von Froreicha17292d6cf7f
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index 9dd627b01a..51111543b4 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -5,9 +5,7 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get purge -y imagemagick imagemagick-6-common
# Add protoc
-# https://datafusion.apache.org/contributor-guide/getting_started.html#protoc-installation
-RUN curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v25.1/protoc-25.1-linux-x86_64.zip \
- && unzip protoc-25.1-linux-x86_64.zip -d $HOME/.local \
- && rm protoc-25.1-linux-x86_64.zip
-
-ENV PATH="$PATH:$HOME/.local/bin"
\ No newline at end of file
+# https://datafusion.apache.org/contributor-guide/development_environment.html#protoc-installation
+RUN apt-get update \
+ && apt-get install -y --no-install-recommends protobuf-compiler libprotobuf-dev \
+ && rm -rf /var/lib/apt/lists/*