gaoran10 opened a new pull request #11943:
URL: https://github.com/apache/pulsar/pull/11943
### Motivation
Currently, when building docker image using `branch-2.7`, we met a problem,
it seems that installing `python3.7-dev` in some os version need to add the apt
repo `ppa:deadsnakes/ppa`.
error logs
```
[INFO] Building dependency tree...
[INFO]
[INFO] Reading state information...
[INFO] Package python3.7 is not available, but is referred to by another
package.
[INFO] This may mean that the package is missing, has been obsoleted, or
[INFO] is only available from another source
[INFO]
[INFO] Package libreadline-gplv2-dev is not available, but is referred to by
another package.
[INFO] This may mean that the package is missing, has been obsoleted, or
[INFO] is only available from another source
[INFO]
[INFO] E: Package 'python3.7' has no installation candidate
[INFO] E: Unable to locate package python3.7-dev
[INFO] E: Couldn't find any package by glob 'python3.7-dev'
[INFO] E: Couldn't find any package by regex 'python3.7-dev'
[INFO] E: Package 'libreadline-gplv2-dev' has no installation candidate
[INFO]
Error: The command '/bin/sh -c apt-get update && apt-get install -y
netcat dnsutils less procps iputils-ping python3.7
python3.7-dev python3-setuptools python3-yaml python3-kazoo
libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev
libgdbm-dev libc6-dev libbz2-dev curl && apt-get clean
&& rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
```
Or maybe we could sync the DockerFile of the `branch-2.7` with the branch
`master`'s.
### Modifications
Add apt repo `ppa:deadsnakes/ppa` before apt update.
### Does this pull request potentially affect one of the following parts:
*If `yes` was chosen, please highlight the changes*
- Dependencies (does it add or upgrade a dependency): (no)
- The public API: (no)
- The schema: (no)
- The default values of configurations: (no)
- The wire protocol: (no)
- The rest endpoints: (no)
- The admin cli options: (no)
- Anything that affects deployment: (no)
### Documentation
Check the box below and label this PR (if you have committer privilege).
Need to update docs?
- [ ] doc-required
(If you need help on updating docs, create a doc issue)
- [x] no-need-doc
(Please explain why)
- [ ] doc
(If this PR contains doc changes)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]