1%YAML 1.2 2--- | 3 # Copyright 2016 gRPC authors. 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 17 # debian 11 = "bullseye" 18 FROM php:7.3-zts-bullseye 19 20 RUN apt-get update && apt-get install -y ${'\\'} 21 autoconf automake build-essential git libtool curl ${'\\'} 22 zlib1g-dev ${'\\'} 23 && apt-get clean 24 25 <%include file="../../git_avoid_dubious_ownership_error.include"/> 26 27 # install php pthreads from source 28 # TODO(jtattermusch): is this really needed? 29 # See https://github.com/grpc/grpc/pull/23056 30 WORKDIR /tmp 31 RUN git clone https://github.com/krakjoe/pthreads 32 RUN cd pthreads && ${'\\'} 33 phpize && ${'\\'} 34 ./configure && ${'\\'} 35 make && ${'\\'} 36 make install 37 38 <%include file="../../run_tests_python_deps.include"/> 39 <%include file="../../php_common_deps.include"/> 40 <%include file="../../cmake.include"/> 41 <%include file="../../ccache.include"/> 42 <%include file="../../run_tests_addons.include"/> 43 <%include file="../../xds_interop_deps.include"/> 44 45 # Define the default command. 46 CMD ["bash"] 47