Debian Codegraph @

templates/tools/dockerfile/test/php73_zts_debian11_x64/Dockerfile.template

raw
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 # install php pthreads from source
26 # TODO(jtattermusch): is this really needed?
27 # See https://github.com/grpc/grpc/pull/23056
28 WORKDIR /tmp
29 RUN git clone https://github.com/krakjoe/pthreads
30 RUN cd pthreads && ${'\\'}
31 phpize && ${'\\'}
32 ./configure && ${'\\'}
33 make && ${'\\'}
34 make install
35
36 <%include file="../../run_tests_python_deps.include"/>
37 <%include file="../../php_common_deps.include"/>
38 <%include file="../../cmake.include"/>
39 <%include file="../../ccache.include"/>
40 <%include file="../../run_tests_addons.include"/>
41 <%include file="../../xds_interop_deps.include"/>
42
43 # Define the default command.
44 CMD ["bash"]