Browse Source

build:升级 protoc到 30.2 版本

- 在 Dockerfile 和 DockerfileDev 中将 PRPTOTBUF_VERSION 从 21.10 修改为 30.2
- 更新 protoc 下载链接和版本号
Your Name 8 months ago
parent
commit
a708932be7
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Dockerfile
  2. 1 1
      DockerfileDev

+ 1 - 1
Dockerfile

@@ -52,7 +52,7 @@ RUN a2enmod rewrite;
 RUN docker-php-ext-install opcache &&  docker-php-ext-enable  opcache
 
 # 安装 protoc
-ENV PRPTOTBUF_VERSION=21.10
+ENV PRPTOTBUF_VERSION=30.2
 RUN wget "https://github.com/protocolbuffers/protobuf/releases/download/v${PRPTOTBUF_VERSION}/protoc-${PRPTOTBUF_VERSION}-linux-x86_64.zip" && \
      unzip protoc-${PRPTOTBUF_VERSION}-linux-x86_64.zip && ls && cp bin/protoc /usr/bin/ && \
  protoc --version

+ 1 - 1
DockerfileDev

@@ -49,7 +49,7 @@ RUN a2enmod rewrite;
 #RUN pecl install xdebug && docker-php-ext-enable  xdebug
 
 # 安装 protoc
-ENV PRPTOTBUF_VERSION=21.10
+ENV PRPTOTBUF_VERSION=30.2
 RUN wget "https://github.com/protocolbuffers/protobuf/releases/download/v${PRPTOTBUF_VERSION}/protoc-${PRPTOTBUF_VERSION}-linux-x86_64.zip" && \
      unzip protoc-${PRPTOTBUF_VERSION}-linux-x86_64.zip && ls && cp bin/protoc /usr/bin/ && \
  protoc --version