Skip to content
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

Create non-alpine based image #63

Open
kzhang-dsg opened this issue Nov 20, 2020 · 5 comments
Open

Create non-alpine based image #63

kzhang-dsg opened this issue Nov 20, 2020 · 5 comments

Comments

@kzhang-dsg
Copy link

kzhang-dsg commented Nov 20, 2020

Could you please create a non-alpine based image (like openjdk:8-slim or openjdk:8-jdk)?

Alpine has several issues:

  1. Xuggler does not work with Alpine. It always gives a SEGMENT FAULT and crashes the Liferay. Switching to openjdk:8-slim or openjdk:8-jdk works.
  2. The libc6-compat required by tcnative is not compatible with Alpine. See related issues:
    Pubsub Subscriber initialization crashes JVM on Alpine Linux with libc6-compat googleapis/google-cloud-java#3536
    RocksDB state backend causes segfault on Alpine images again docker-flink/docker-flink#37

Currently, to solve the problem I have to use Liferay's official docker image as an intermediate image and write my own Dockerfile with multi-stage builds to switch to openjdk:8-slim. It is not very maintainable.

@zsoltbalogh
Copy link
Member

Thank you for the suggestion @kzhang-dsg! We are in discussion internally on switching to a different distro, currently discussing what would be the best option. Your input will help the decision definitely, I hope we will have a chance to make the change soon.

@SebJak
Copy link

SebJak commented Sep 15, 2021

What is the status? I saw the pull request . I have a problem with run some native lib which requires glibc. Do you know that his change will be supported in 7.3 version?
Thanks in advance

@zsoltbalogh
Copy link
Member

We are really close now to move, however there are some blockers which we need to solve first. Hopefully we will be able to make it happen in the next few days.

We will only support one version for all images so we will change the 7.3 images to Ubuntu as well.

@SebJak
Copy link

SebJak commented Sep 15, 2021

thanks a lot :)

@zsoltbalogh
Copy link
Member

Thank you for following up and also checking the PRs :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants