You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "nodece (via GitHub)" <gi...@apache.org> on 2024/09/23 08:11:54 UTC

[PR] [improve][build] Use eclipse-temurin:17 image instead of apt installation [pulsar]

nodece opened a new pull request, #23335:
URL: https://github.com/apache/pulsar/pull/23335

   ### Motivation
   
   Reduce the docker image size.
   
   ### Modifications
   
   - Use eclipse-temurin:17 image instead of apt installation.
   
   ### 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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [improve][build] Use eclipse-temurin:17 image instead of apt installation [pulsar]

Posted by "nodece (via GitHub)" <gi...@apache.org>.
nodece commented on PR #23335:
URL: https://github.com/apache/pulsar/pull/23335#issuecomment-2367708393

   > We shouldn't change the LTS version if there isn't a very strong reason to do so.
   
   @lhotari I have updated the PR description, and significantly reducing the image size would be beneficial for version 3.0.
   
   
   
   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [improve][build] Use eclipse-temurin:17 image instead of apt installation [pulsar]

Posted by "nodece (via GitHub)" <gi...@apache.org>.
nodece commented on PR #23335:
URL: https://github.com/apache/pulsar/pull/23335#issuecomment-2372824009

   ```
   Package: temurin-17-jdk
   Version: 17.0.6.0.0+10
   Architecture: amd64
   Maintainer: Eclipse Adoptium Package Maintainers <te...@eclipse.org>
   Installed-Size: 321706
   Depends: adoptium-ca-certificates, java-common, libasound2, libc6, libx11-6, libfontconfig1, libfreetype6, libxext6, libxi6, libxrender1, libxtst6, zlib1g
   Recommends: fonts-dejavu-core, fonts-dejavu-extra
   Provides: java-compiler, java-runtime, java-runtime-headless, java-sdk, java-sdk-headless, java10-runtime, java10-runtime-headless, java10-sdk, java10-sdk-headless, java11-runtime, java11-runtime-headless, java11-sdk, java11-sdk-headless, java12-runtime, java12-runtime-headless, java12-sdk, java12-sdk-headless, java13-runtime, java13-runtime-headless, java13-sdk, java13-sdk-headless, java14-runtime, java14-runtime-headless, java14-sdk, java14-sdk-headless, java15-runtime, java15-runtime-headless, java15-sdk, java15-sdk-headless, java16-runtime, java16-runtime-headless, java16-sdk, java16-sdk-headless, java17-runtime, java17-runtime-headless, java17-sdk, java17-sdk-headless, java2-runtime, java2-runtime-headless, java2-sdk, java2-sdk-headless, java5-runtime, java5-runtime-headless, java5-sdk, java5-sdk-headless, java6-runtime, java6-runtime-headless, java6-sdk, java6-sdk-headless, java7-runtime, java7-runtime-headless, java7-sdk, java7-sdk-headless, java8-runtime, java8-runtime-hea
 dless, java8-sdk, java8-sdk-headless, java9-runtime, java9-runtime-headless, java9-sdk, java9-sdk-headless
   Section: java
   Priority: optional
   Description: Eclipse Temurin 17 JDK
    Eclipse Temurin JDK is an OpenJDK-based development environment to create
    applications and components using the programming language Java.
   Filename: pool/main/t/temurin-17/temurin-17-jdk_17.0.6.0.0+10_amd64.deb
   SHA1: 6fc4f3339da47dd474edc5a2cb10c362fe4e1c60
   SHA256: 9e958aa6009514764ec7120117b2dd85350fb706635433743d7fe8dac6578a55
   Size: 164880620
   ```
   
   `fonts-dejavu-core` and  `fonts-dejavu-extra` looks unnecessary.
   
   Our private version has already merged this feature, and once there are no issues during testing, I will create a PIP to improve this.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [improve][build] Use eclipse-temurin:17 image instead of apt installation [pulsar]

Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari commented on PR #23335:
URL: https://github.com/apache/pulsar/pull/23335#issuecomment-2367749427

   > > We shouldn't change the LTS version if there isn't a very strong reason to do so.
   > 
   > @lhotari I have updated the PR description, and significantly reducing the image size would be beneficial for version 3.0.
   
   @nodece There's a high risk that this is a breaking change for many users. If this change is made, there needs to be a PIP. I'll close this PR that it doesn't get accidentially merged without an explicit decision.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [improve][build] Use eclipse-temurin:17 image instead of apt installation [pulsar]

Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari closed pull request #23335: [improve][build] Use eclipse-temurin:17 image instead of apt installation
URL: https://github.com/apache/pulsar/pull/23335


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [improve][build] Use eclipse-temurin:17 image instead of apt installation [pulsar]

Posted by "nodece (via GitHub)" <gi...@apache.org>.
nodece commented on PR #23335:
URL: https://github.com/apache/pulsar/pull/23335#issuecomment-2367709222

   /pulsarbot rerun-failure-checks


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [improve][build] Use eclipse-temurin:17 image instead of apt installation [pulsar]

Posted by "nodece (via GitHub)" <gi...@apache.org>.
nodece commented on PR #23335:
URL: https://github.com/apache/pulsar/pull/23335#issuecomment-2367508934

   /pulsarbot rerun-failure-checks


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [improve][build] Use eclipse-temurin:17 image instead of apt installation [pulsar]

Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari commented on PR #23335:
URL: https://github.com/apache/pulsar/pull/23335#issuecomment-2367524795

   > Reduce the docker image size.
   
   Please provide more context in the description.
   How much does this actually reduce the size?


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [improve][build] Use eclipse-temurin:17 image instead of apt installation [pulsar]

Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari commented on PR #23335:
URL: https://github.com/apache/pulsar/pull/23335#issuecomment-2367758808

   One possible reason why there's such a large difference is caused by the fact that command `apt-get -y install temurin-17-jdk` doesn't include `--no-install-recommends`. A lot of optional packages get installed.
   However we cannot change this for a LTS version without a PIP.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org