| 1 |
%YAML 1.2 |
| 2 |
--- | |
| 3 |
# Copyright 2021 the 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 |
FROM debian:11 |
| 18 |
|
| 19 |
<%include file="../../apt_get_basic.include"/> |
| 20 |
<%include file="../../run_tests_python_deps.include"/> |
| 21 |
<%include file="../../cxx_deps.include"/> |
| 22 |
<%include file="../../cmake.include"/> |
| 23 |
<%include file="../../ccache.include"/> |
| 24 |
<%include file="../../run_tests_addons.include"/> |
| 25 |
|
| 26 |
# Install openssl 1.0.2 from source |
| 27 |
RUN apt-get update && apt-get install -y build-essential zlib1g-dev |
| 28 |
RUN cd /tmp && ${"\\"} |
| 29 |
wget --no-check-certificate https://www.openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz && ${"\\"} |
| 30 |
tar -xf openssl-1.0.2u.tar.gz && ${"\\"} |
| 31 |
cd openssl-1.0.2u && ${"\\"} |
| 32 |
./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib && ${"\\"} |
| 33 |
make -j 4 && ${"\\"} |
| 34 |
make install && ${"\\"} |
| 35 |
rm -rf /tmp/openssl-1.0.2u* |
| 36 |
ENV OPENSSL_ROOT_DIR=/usr/local/ssl |
| 37 |
|
| 38 |
# Define the default command. |
| 39 |
CMD ["bash"] |