lhotari opened a new pull request, #21489: URL: https://github.com/apache/pulsar/pull/21489
### Motivation Building the docker file fails often with this kind of error: ``` [INFO] DOCKER> Err:5 https://packages.adoptium.net/artifactory/deb jammy/main amd64 temurin-17-jdk amd64 17.0.9.0.0+9 Error reading from server. Remote end closed connection [IP: 146.75.31.42 443] [INFO] DOCKER> [91mE: Failed to fetch https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-17/temurin-17-jdk_17.0.9.0.0%2b9_amd64.deb Error reading from server. Remote end closed connection [IP: 146.75.31.42 443] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? ``` ### Modifications `apt-transport-https` package should be installed without `--no-install-recommends`. Rearrange the apt-get commands to achieve the desired result. ### Documentation <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. --> - [ ] `doc` <!-- Your PR contains doc changes. --> - [ ] `doc-required` <!-- Your PR changes impact docs and you will update later --> - [x] `doc-not-needed` <!-- Your PR changes do not impact docs --> - [ ] `doc-complete` <!-- Docs have been already added --> -- 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]
