mirror of
https://github.com/php-win-ext/grpc.git
synced 2026-03-24 17:12:19 +01:00
- PHP 7.4 and 8.0 have been EOL https://www.php.net/supported-versions.php - See go/drop-php-8.0 for more details Most of the changes came from `generate_projects.sh` after updating the `tools/buildgen/plugins/expand_version.py` file. The change to `tools/internal_ci/helper_scripts/prepare_build_macos_rc` is manual. Closes #35964 COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35964 from stanley-cheung:php-update-to-8_1 0c24c4eac21acae9208473363b1d3f737976ccd3 PiperOrigin-RevId: 609495798
35 lines
969 B
Docker
35 lines
969 B
Docker
# Copyright 2019 gRPC authors.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
FROM php:8.1-buster
|
|
|
|
RUN apt-get -qq update && apt-get -qq install -y \
|
|
autoconf automake cmake curl git libtool \
|
|
pkg-config unzip zlib1g-dev
|
|
|
|
ARG MAKEFLAGS=-j8
|
|
|
|
|
|
WORKDIR /github/grpc
|
|
|
|
RUN git clone https://github.com/grpc/grpc . && \
|
|
git submodule update --init --recursive
|
|
|
|
WORKDIR /github/grpc/cmake/build
|
|
|
|
RUN cmake ../.. && \
|
|
make protoc grpc_php_plugin
|
|
|
|
RUN pecl install grpc
|