mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-06 18:35:19 +00:00
THRIFT-3696 Install pip to CentOS Docker images to fix Python builds
This closes #912
This commit is contained in:
parent
5fb1fda25a
commit
ed23b2b4ce
@ -110,14 +110,14 @@ env:
|
||||
BUILD_ARG="-DCMAKE_TOOLCHAIN_FILE=../build/cmake/mingw32-toolchain.cmake -DBUILD_COMPILER=ON -DBUILD_LIBRARIES=OFF -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF"
|
||||
BUILD_ENV=""
|
||||
|
||||
- TEST_NAME="All (CentOS)"
|
||||
- TEST_NAME="All - GCC (CentOS)"
|
||||
BUILD_CMD="../cmake.sh"
|
||||
BUILD_ENV="-e CC=gcc -e CXX=g++"
|
||||
DISTRO=centos
|
||||
|
||||
- TEST_NAME="C C++ - GCC (CentOS)"
|
||||
- TEST_NAME="C C++ - Clang (CentOS)"
|
||||
BUILD_CMD="../cmake.sh"
|
||||
BUILD_ARG="-DWITH_PYTHON=OFF -DWITH_JAVA=OFF -DWITH_HASKELL=OFF"
|
||||
BUILD_ENV="-e CC=gcc -e CXX=g++"
|
||||
DISTRO=centos
|
||||
|
||||
- TEST_NAME="Python 2.6 (CentOS 6)"
|
||||
|
@ -58,7 +58,7 @@ RUN yum install -y \
|
||||
python-devel \
|
||||
python-setuptools \
|
||||
python-twisted-web \
|
||||
python-six
|
||||
python-pip
|
||||
|
||||
# Ruby Dependencies
|
||||
RUN yum install -y \
|
||||
|
@ -19,7 +19,8 @@
|
||||
FROM centos:6
|
||||
MAINTAINER Apache Thrift <dev@thrift.apache.org>
|
||||
|
||||
RUN yum install -y \
|
||||
RUN yum install -y epel-release && \
|
||||
yum install -y \
|
||||
autoconf \
|
||||
bison \
|
||||
bison-devel \
|
||||
@ -36,7 +37,7 @@ RUN yum install -y \
|
||||
python-devel \
|
||||
python-setuptools \
|
||||
python-twisted-web \
|
||||
python-six \
|
||||
python-pip \
|
||||
&& yum clean all
|
||||
|
||||
# CMake
|
||||
|
@ -55,7 +55,7 @@ RUN apt-get update && apt-get install -y \
|
||||
&& update-java-alternatives -s java-1.7.0-openjdk-amd64
|
||||
|
||||
# Python dependencies
|
||||
RUN apt-get update && apt-get install -y \
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
python-all \
|
||||
python-all-dev \
|
||||
python-all-dbg \
|
||||
@ -64,6 +64,7 @@ RUN apt-get update && apt-get install -y \
|
||||
python-twisted \
|
||||
python-zope.interface \
|
||||
python-pip \
|
||||
python3-dev \
|
||||
python3-pip
|
||||
|
||||
# Ruby dependencies
|
||||
|
@ -55,15 +55,16 @@ RUN apt-get update && apt-get install -y \
|
||||
&& update-java-alternatives -s java-1.7.0-openjdk-amd64
|
||||
|
||||
# Python dependencies
|
||||
RUN apt-get update && apt-get install -y \
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
python-all \
|
||||
python-all-dev \
|
||||
python-all-dbg \
|
||||
python-all-dev \
|
||||
python-pip \
|
||||
python-setuptools \
|
||||
python-support \
|
||||
python-twisted \
|
||||
python-zope.interface \
|
||||
python-pip \
|
||||
python3-dev \
|
||||
python3-pip
|
||||
|
||||
# Ruby dependencies
|
||||
|
Loading…
Reference in New Issue
Block a user