Skip to content
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
2 changes: 1 addition & 1 deletion build/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# under the License.
#

FROM ubuntu:22.04
FROM ubuntu:20.04

# prepare the directory for pulsar related files
RUN mkdir /pulsar
Expand Down
2 changes: 1 addition & 1 deletion docker/pulsar/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RUN chmod g+w /pulsar/lib/presto
### Create 2nd stage from Ubuntu image
### and add OpenJDK and Python dependencies (for Pulsar functions)

FROM ubuntu:22.04
FROM ubuntu:20.04

ARG DEBIAN_FRONTEND=noninteractive
ARG UBUNTU_MIRROR=mirror://mirrors.ubuntu.com/mirrors.txt
Expand Down
4 changes: 4 additions & 0 deletions docker/pulsar/scripts/install-pulsar-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,9 @@
set -x

PYTHON_MAJOR_MINOR=$(python3 -V | sed -E 's/.* ([[:digit:]]+)\.([[:digit:]]+).*/\1\2/')
echo $PYTHON_MAJOR_MINOR
ls /pulsar/pulsar-client
uname -a
WHEEL_FILE=$(ls /pulsar/pulsar-client | grep "cp${PYTHON_MAJOR_MINOR}")
echo WHEEL_FILE=$WHEEL_FILE
pip3 install /pulsar/pulsar-client/${WHEEL_FILE}[all]
2 changes: 1 addition & 1 deletion tests/docker-images/java-test-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# under the License.
#

FROM ubuntu:22.04
FROM ubuntu:20.04

RUN groupadd -g 10001 pulsar
RUN adduser -u 10000 --gid 10001 --disabled-login --disabled-password --gecos '' pulsar
Expand Down