Skip to content

Commit

Permalink
[improve][build] Remove build-essential and python3-dev
Browse files Browse the repository at this point in the history
Signed-off-by: Zixuan Liu <[email protected]>
  • Loading branch information
nodece committed Oct 16, 2024
1 parent 5c63776 commit 16a7bcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
3 changes: 2 additions & 1 deletion docker/pulsar/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ RUN sed -i -e "s|http://archive\.ubuntu\.com/ubuntu/|${UBUNTU_MIRROR:-mirror://m
&& apt-get autoclean \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& pip3 install pyyaml==6.0.1
&& pip3 install --no-cache-dir --upgrade pip \
&& pip3 install --no-cache-dir pyyaml==6.0.1

# Copy Eclipse Temurin Package
ENV JAVA_HOME=/opt/java/openjdk
Expand Down
7 changes: 0 additions & 7 deletions docker/pulsar/scripts/install-pulsar-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,4 @@

set -x

# TODO: remove these lines once grpcio doesn't need to compile from source on ARM64 platform
ARCH=$(uname -m | sed -r 's/aarch64/arm64/g' | awk '!/arm64/{$0="amd64"}1')
if [ "${ARCH}" == "arm64" ]; then
apt update
apt -y install build-essential python3-dev
fi

pip3 install pulsar-client[all]==${PULSAR_CLIENT_PYTHON_VERSION}

0 comments on commit 16a7bcc

Please sign in to comment.