Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Integeration-test]Fix integration-test failed when execute pip3 install pulsar_client #4754

Merged
merged 3 commits into from
Jul 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions docker/pulsar/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,21 @@ COPY --from=pulsar /pulsar /pulsar
RUN apt-get update \
&& apt-get install -y netcat dnsutils \
python2.7 python-setuptools \
python3 python3-setuptools \
python3-setuptools \
libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev \
curl \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Install python3.5.6
RUN curl -O -L https://www.python.org/ftp/python/3.5.6/Python-3.5.6.tgz
RUN tar -zxvf Python-3.5.6.tgz
RUN cd Python-3.5.6 && ./configure --enable-optimizations && make altinstall

RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
RUN python2.7 get-pip.py
RUN pip install kazoo pyyaml
RUN python3 get-pip.py
RUN python3.5 get-pip.py

ADD target/python-client/ /pulsar/pulsar-client
RUN /pulsar/bin/install-pulsar-client-27.sh
Expand Down
2 changes: 1 addition & 1 deletion docker/pulsar/scripts/install-pulsar-client-35.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
set -x

WHEEL_FILE=$(ls /pulsar/pulsar-client | grep cp35)
pip3 install /pulsar/pulsar-client/${WHEEL_FILE}
pip3.5 install /pulsar/pulsar-client/${WHEEL_FILE}