Updating ubuntu 22.04 can fix some CVE issues. Since python client has been
removed, we don't need to build python client in pulsar docker
building stage. Instead, we can install python-client from pypi directly. I
created this PR to fix this issue.
https://github.com/apache/pulsar/pull/20770

Dave Fisher <wave4d...@comcast.net> 于2023年6月30日周五 13:23写道:

> We’ve been seeing this too.
>
> The issue is that the docker build gets it mirror list from Ubuntu, some
> of the mirrors are bad, and output reveals that the patching of the
> original ubuntu image requires every patch and these eventually stall. We
> are working on improvements to mirror selection.
>
> I think a better approach is to make a base image on a schedule or on
> demand. Each docker image needed can start from that saved “ready” image,
> install the JDK, and then the Pulsar components.
>
> Best,
> Dave
>
> Sent from my iPhone
>
> > On Jun 29, 2023, at 9:41 PM, asn <yaa...@gmail.com> wrote:
> >
> > Hi, everyone
> >
> > Since this PR cherry-picked to branch-2.11, the Docker image build
> failed.
> > The reason is this script `
> >
> https://github.com/apache/pulsar/blob/branch-2.10/docker/pulsar/scripts/install-pulsar-client.sh`
> <https://github.com/apache/pulsar/blob/branch-2.10/docker/pulsar/scripts/install-pulsar-client.sh>
> ,
> > ubuntu 20.04 python version is 3.8, but 22.04 python version is 3.10.
> >
> > Furthermore, branch-3.0 can build success because it removes cpp and
> python
> > build in this branch and master. Currently, python and cpp clients are
> > removed from pulsar, so why not cherry-pick this PR (
> > https://github.com/apache/pulsar/pull/17881) to 2.10 and 2.11 branch?
> >
> > Zixuan Liu <node...@gmail.com> 于2023年6月28日周三 19:02写道:
> >
> >> +1, but we need to remove the pulsar client changes.
> >>
> >> Thanks,
> >> Zixuan
> >>
> >> Zike Yang <z...@apache.org> 于2023年6月28日周三 16:24写道:
> >>>
> >>> +1 for cherry-picking the PR.
> >>>
> >>> Thanks,
> >>> Zike Yang
> >>>
> >>> On Wed, Jun 28, 2023 at 4:22 PM <mattisonc...@gmail.com> wrote:
> >>>>
> >>>> Agree with cherry-pick PR.
> >>>>
> >>>> Best
> >>>> Mattison
> >>>> On 26 Jun 2023 at 17:10 +0800, guo jiwei <techno...@apache.org>,
> >> wrote:
> >>>>> Hello community:
> >>>>> For this patch Use Ubuntu 22.04 for Pulsar images
> >>>>> <https://github.com/apache/pulsar/pull/20475>, we need some ideas
> >> about
> >>>>> cherry-picking to other branches.
> >>>>>
> >>>>>
> >>>>> Regards
> >>>>> Jiwei Guo (Tboy)
> >>
> >
> >
> > --
> > yaalsn
>
>

-- 
yaalsn

Reply via email to