Skip to content

Commit

Permalink
[fix][misc] Use ubuntu 22.04 for Pulsar images (#20475)
Browse files Browse the repository at this point in the history
  • Loading branch information
codelipenghui authored and Technoboy- committed Jun 14, 2023
1 parent 7e09cc3 commit b19ab1f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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:20.04
FROM ubuntu:22.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/trino
### Create 2nd stage from Ubuntu image
### and add OpenJDK and Python dependencies (for Pulsar functions)

FROM ubuntu:20.04
FROM ubuntu:22.04

ARG DEBIAN_FRONTEND=noninteractive
ARG UBUNTU_MIRROR=mirror://mirrors.ubuntu.com/mirrors.txt
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ flexible messaging model and an intuitive client API.</description>
<pulsar.broker.compiler.release>${maven.compiler.target}</pulsar.broker.compiler.release>
<pulsar.client.compiler.release>8</pulsar.client.compiler.release>

<pulsar.client.python.version>2.10.1</pulsar.client.python.version>
<pulsar.client.python.version>3.2.0</pulsar.client.python.version>

<!--config keys to configure test selection -->
<include>**/Test*.java,**/*Test.java,**/*Tests.java,**/*TestCase.java</include>
Expand Down
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:20.04
FROM ubuntu:22.04

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

0 comments on commit b19ab1f

Please sign in to comment.