| 1 |
%YAML 1.2 |
| 2 |
--- | |
| 3 |
# Copyright 2018 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 alpine:3.11 |
| 18 |
|
| 19 |
# Install Git and basic packages. |
| 20 |
RUN apk update && apk add \ |
| 21 |
autoconf \ |
| 22 |
automake \ |
| 23 |
bzip2 \ |
| 24 |
build-base \ |
| 25 |
cmake \ |
| 26 |
ccache \ |
| 27 |
curl \ |
| 28 |
gcc \ |
| 29 |
git \ |
| 30 |
libtool \ |
| 31 |
linux-headers \ |
| 32 |
make \ |
| 33 |
perl \ |
| 34 |
strace \ |
| 35 |
python3-dev \ |
| 36 |
py3-pip \ |
| 37 |
unzip \ |
| 38 |
wget \ |
| 39 |
zip |
| 40 |
|
| 41 |
RUN ln -s /usr/bin/pip3 /usr/bin/pip |
| 42 |
RUN ln -s /usr/bin/python3 /usr/bin/python |
| 43 |
|
| 44 |
# Install Python packages from PyPI |
| 45 |
RUN python3 -m pip install --upgrade pip==19.3.1 |
| 46 |
|
| 47 |
<%include file="../../gcp_api_libraries.include"/> |
| 48 |
|
| 49 |
<%include file="../../ccache.include"/> |