New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Branch-2.8]Fix pulsar_standalone docker image build failed #11862
Merged
hangc0276
merged 1 commit into
apache:branch-2.8
from
hangc0276:chenhang/fix_pulsar_standalone_docker_image_build_failed
Aug 31, 2021
Merged
[Branch-2.8]Fix pulsar_standalone docker image build failed #11862
hangc0276
merged 1 commit into
apache:branch-2.8
from
hangc0276:chenhang/fix_pulsar_standalone_docker_image_build_failed
Aug 31, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eolivelli
approved these changes
Aug 31, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
in 2.9.0 we dropped Standalone.
it is fine to keep it in 2.8.0 at the moment
thanks
@eolivelli Yes, it just tag it into 2.8.1 |
gaoran10
added a commit
to gaoran10/pulsar
that referenced
this pull request
Sep 10, 2021
2. Build python client by Python3.8 cherry-pick: 1. apache#11026 2. apache#11623 3. apache#11862
This was referenced Sep 10, 2021
codelipenghui
pushed a commit
that referenced
this pull request
Sep 14, 2021
### Motivation Currently, the docker is from `openjdk:8-jdk-slim `, it has a new release a few days ago and the Linux version was changed to `Impish`, it didn't support install `python3.7` by apt-get tool, the minimum Python version is 3.9, so we need to change the python version or use a different Linux release, I cherry-pick some commits from branch master to build docker image from the `ubuntu:20.04`. Mainly related PRs: 1. #11026 2. #11623 3. #11862 ### Modifications Build docker image from the `ubuntu:20.04`. upgrade pulsar-go-client from `0.2.0` to `0.6.0` and rever #9124 from branch-2.7
nicoloboschi
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jul 22, 2022
Currently, the docker is from `openjdk:8-jdk-slim `, it has a new release a few days ago and the Linux version was changed to `Impish`, it didn't support install `python3.7` by apt-get tool, the minimum Python version is 3.9, so we need to change the python version or use a different Linux release, I cherry-pick some commits from branch master to build docker image from the `ubuntu:20.04`. Mainly related PRs: 1. apache#11026 2. apache#11623 3. apache#11862 Build docker image from the `ubuntu:20.04`. upgrade pulsar-go-client from `0.2.0` to `0.6.0` and rever apache#9124 from branch-2.7 (cherry picked from commit 259c698)
nicoloboschi
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jul 22, 2022
Currently, the docker is from `openjdk:8-jdk-slim `, it has a new release a few days ago and the Linux version was changed to `Impish`, it didn't support install `python3.7` by apt-get tool, the minimum Python version is 3.9, so we need to change the python version or use a different Linux release, I cherry-pick some commits from branch master to build docker image from the `ubuntu:20.04`. Mainly related PRs: 1. apache#11026 2. apache#11623 3. apache#11862 Build docker image from the `ubuntu:20.04`. upgrade pulsar-go-client from `0.2.0` to `0.6.0` and rever apache#9124 from branch-2.7 (cherry picked from commit 259c698)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
When build the pulsar-standalone docker image, it throw the following exception
The root cause is when we use ubuntu 20.04 use base docker image instead of openjdk:11-jdk image introduce by #11026 , the ubuntu 20.04 will install
postgresql 12
instead ofpostgresql 11
by default. However, the init and start script has been hard code with postgresql 11 install path, which will lead tocommand not found
exception.Modification
postgresql 11
resource address for ubuntu 20.04 and installpostgresql 11