This is an automated email from the ASF dual-hosted git repository.
technoboy pushed a commit to branch branch-2.11
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-2.11 by this push:
new 13ed7c25613 [fix][misc] Use ubuntu 22.04 for Pulsar images (#20475)
13ed7c25613 is described below
commit 13ed7c256135928d3e68511be67c70b722e6ef04
Author: Penghui Li <[email protected]>
AuthorDate: Tue Jun 6 11:08:36 2023 +0800
[fix][misc] Use ubuntu 22.04 for Pulsar images (#20475)
Upgrade Ubuntu to 22.04 to fix some CVEs
- CVE-2017-14063: https://nvd.nist.gov/vuln/detail/cve-2017-14063
- CVE-2021-27291: https://nvd.nist.gov/vuln/detail/CVE-2021-27291
- CVE-2021-20270: https://nvd.nist.gov/vuln/detail/CVE-2021-20270
---
build/docker/Dockerfile | 2 +-
docker/pulsar/Dockerfile | 2 +-
tests/docker-images/java-test-image/Dockerfile | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/build/docker/Dockerfile b/build/docker/Dockerfile
index 21868cc8b15..eab3d9da737 100644
--- a/build/docker/Dockerfile
+++ b/build/docker/Dockerfile
@@ -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
diff --git a/docker/pulsar/Dockerfile b/docker/pulsar/Dockerfile
index 6450668ccd2..1f543111201 100644
--- a/docker/pulsar/Dockerfile
+++ b/docker/pulsar/Dockerfile
@@ -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:20.04
+FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive
ARG UBUNTU_MIRROR=mirror://mirrors.ubuntu.com/mirrors.txt
diff --git a/tests/docker-images/java-test-image/Dockerfile
b/tests/docker-images/java-test-image/Dockerfile
index b7f12b75968..d712c83a425 100644
--- a/tests/docker-images/java-test-image/Dockerfile
+++ b/tests/docker-images/java-test-image/Dockerfile
@@ -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