Skip to content

Create non-alpine based image #63

@kzhang-dsg

Description

@kzhang-dsg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions