liferay-docker
liferay-docker copied to clipboard
Create non-alpine based image
Could you please create a non-alpine based image (like openjdk:8-slim or openjdk:8-jdk)?
Alpine has several issues:
- 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.
- The
libc6-compat
required bytcnative
is not compatible with Alpine. See related issues: https://github.com/googleapis/google-cloud-java/issues/3536 https://github.com/docker-flink/docker-flink/issues/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.
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.
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
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.
thanks a lot :)
Thank you for following up and also checking the PRs :)