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.17 18 19 # Install Git and basic packages. 20 RUN apk update && apk add \ 21 autoconf \ 22 automake \ 23 bash ${'\\'} 24 bzip2 \ 25 build-base \ 26 cmake \ 27 ccache \ 28 curl \ 29 gcc \ 30 git \ 31 libtool \ 32 linux-headers \ 33 make \ 34 perl \ 35 strace \ 36 python3-dev \ 37 py3-pip \ 38 unzip \ 39 wget \ 40 zip 41 42 <%include file="../../git_avoid_dubious_ownership_error.include"/> 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 <%include file="../../ccache.include"/> 49 <%include file="../../run_tests_addons.include"/> 50 51