You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by pe...@apache.org on 2021/09/07 23:53:41 UTC

[pulsar] branch branch-2.7 updated: [Branch-2.7][Build] Fix docker image install python3.7-dev problem (#11943)

This is an automated email from the ASF dual-hosted git repository.

penghui 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 9064963  [Branch-2.7][Build] Fix docker image install python3.7-dev problem (#11943)
9064963 is described below

commit 9064963814e927dd24eff9c50d6a0723cf3b1275
Author: ran <ga...@126.com>
AuthorDate: Wed Sep 8 07:52:50 2021 +0800

    [Branch-2.7][Build] Fix docker image install python3.7-dev problem (#11943)
    
    * fix docker file to install `python3.7-dev`
    
    * fix
    
    * fix
---
 docker/pulsar/Dockerfile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/docker/pulsar/Dockerfile b/docker/pulsar/Dockerfile
index 23820fc..37a022d 100644
--- a/docker/pulsar/Dockerfile
+++ b/docker/pulsar/Dockerfile
@@ -40,6 +40,11 @@ COPY scripts/install-pulsar-client-37.sh /pulsar/bin
 
 FROM openjdk:8-jdk-slim
 
+# Install software-properties-common
+RUN apt update \
+    && apt install software-properties-common \
+    && add-apt-repository ppa:deadsnakes/ppa
+
 # Install some utilities
 RUN apt-get update \
      && apt-get install -y netcat dnsutils less procps iputils-ping \
@@ -71,4 +76,3 @@ COPY --from=pulsar /pulsar /pulsar
 WORKDIR /pulsar
 
 RUN /pulsar/bin/install-pulsar-client-37.sh
-