| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| |
| # See https://quay.io/repository/pypa/manylinux1_x86_64?tab=tags |
| # to update base image. |
| FROM quay.io/pypa/manylinux1_x86_64:2020-03-07-9c5ba95 |
| |
| # Install dependencies |
| RUN yum install -y xz ccache flex && yum clean all |
| |
| ADD scripts/build_zlib.sh / |
| RUN /build_zlib.sh |
| |
| ADD scripts/build_openssl.sh / |
| RUN /build_openssl.sh |
| |
| # Install CMake and Ninja manylinux1 packages |
| ADD scripts/install_cmake.sh / |
| RUN /install_cmake.sh |
| |
| ADD scripts/build_gflags.sh / |
| RUN /build_gflags.sh |
| |
| ADD scripts/build_protobuf.sh / |
| RUN /build_protobuf.sh |
| ENV PROTOBUF_HOME /usr/local |
| |
| ADD scripts/build_cares.sh / |
| RUN /build_cares.sh |
| |
| ADD scripts/build_absl.sh / |
| RUN /build_absl.sh |
| |
| ADD scripts/build_grpc.sh / |
| RUN /build_grpc.sh |
| |
| ADD scripts/build_boost.sh / |
| RUN /build_boost.sh |
| |
| ADD scripts/build_bison.sh / |
| RUN /build_bison.sh |
| |
| ADD scripts/build_thrift.sh / |
| RUN /build_thrift.sh |
| ENV THRIFT_HOME /usr/local |
| |
| ADD scripts/build_curl.sh / |
| RUN /build_curl.sh |
| ENV CURL_HOME /opt/curl |
| |
| ADD scripts/build_aws_sdk.sh / |
| RUN /build_aws_sdk.sh |
| |
| ADD scripts/build_brotli.sh / |
| RUN /build_brotli.sh |
| ENV BROTLI_HOME /usr/local |
| |
| ADD scripts/build_snappy.sh / |
| RUN /build_snappy.sh |
| ENV SNAPPY_HOME /usr/local |
| |
| ADD scripts/build_lz4.sh / |
| RUN /build_lz4.sh |
| ENV LZ4_HOME /usr/local |
| |
| ADD scripts/build_zstd.sh / |
| RUN /build_zstd.sh |
| ENV ZSTD_HOME /usr/local |
| |
| ADD scripts/build_ccache.sh / |
| RUN /build_ccache.sh |
| |
| ADD scripts/build_glog.sh / |
| RUN /build_glog.sh |
| ENV GLOG_HOME /usr/local |
| |
| WORKDIR / |
| RUN git clone https://github.com/matthew-brett/multibuild.git && cd multibuild && git checkout 68a4af043e2adb0d9353d4a0e1f3d871203237aa |
| # Remove unneeded Python versions |
| RUN rm -rf /opt/_internal/cpython-2.7.* |
| |
| ADD scripts/build_rapidjson.sh / |
| RUN /build_rapidjson.sh |
| |
| ADD scripts/build_re2.sh / |
| RUN /build_re2.sh |
| |
| ADD scripts/build_bz2.sh / |
| RUN /build_bz2.sh |
| |
| ADD scripts/build_utf8proc.sh / |
| RUN /build_utf8proc.sh |