You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by rg...@apache.org on 2021/09/07 08:08:27 UTC
[pulsar] branch branch-2.7 updated: fix docker file to install
`python3.7-dev`
This is an automated email from the ASF dual-hosted git repository.
rgao pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-2.7 by this push:
new b0e3853 fix docker file to install `python3.7-dev`
b0e3853 is described below
commit b0e385367d6385ee89c7c079df5e681c6fa0fcae
Author: gaoran10 <ga...@126.com>
AuthorDate: Tue Sep 7 16:07:21 2021 +0800
fix docker file to install `python3.7-dev`
---
docker/pulsar/Dockerfile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/docker/pulsar/Dockerfile b/docker/pulsar/Dockerfile
index 23820fc..f95e119 100644
--- a/docker/pulsar/Dockerfile
+++ b/docker/pulsar/Dockerfile
@@ -41,7 +41,8 @@ COPY scripts/install-pulsar-client-37.sh /pulsar/bin
FROM openjdk:8-jdk-slim
# Install some utilities
-RUN apt-get update \
+RUN add-apt-repository ppa:deadsnakes/ppa \
+ && apt-get update \
&& apt-get install -y netcat dnsutils less procps iputils-ping \
python3.7 python3.7-dev python3-setuptools python3-yaml python3-kazoo \
libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev \