This is an automated email from the ASF dual-hosted git repository.
xiangfu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push:
new fe14d60 fixing pinot-presto docker image build script (#7401)
fe14d60 is described below
commit fe14d60a5fd3405cc695f9a3a9d1df73a0dbbea3
Author: Xiang Fu <[email protected]>
AuthorDate: Mon Sep 6 00:33:54 2021 -0700
fixing pinot-presto docker image build script (#7401)
---
docker/images/pinot-presto/Dockerfile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/docker/images/pinot-presto/Dockerfile
b/docker/images/pinot-presto/Dockerfile
index ee9e8f0..dc42bf2 100644
--- a/docker/images/pinot-presto/Dockerfile
+++ b/docker/images/pinot-presto/Dockerfile
@@ -31,9 +31,11 @@ ENV PRESTO_BUILD_DIR=/home/presto/build
RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential vim wget curl git \
- gcc libpq-dev python-dev python-pip python3-dev python3-pip python3-venv
python3-wheel && \
+ gcc libpq-dev python3-dev python3-pip python3-venv python3-wheel && \
pip3 install --upgrade pip setuptools wheel && \
- rm -rf /var/lib/apt/lists/*
+ rm -rf /var/lib/apt/lists/* && \
+ ln -s /usr/bin/python3 /usr/bin/python
+
RUN groupadd -g 999 presto && \
useradd -r -u 999 -g presto --create-home --shell /bin/bash presto
USER presto
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]