I have build a docker container with this command:
FROM openjdk:8-jdk
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
openjfx \
unzip \
&& apt-get clean \
&& rm -f /var/lib/apt/lists/*_dists_*
but my resulting java container still does not have java fx.. as evidenced by this excpetion: ...[org.neo4j.ogm.session.SessionFactory]: Factory method 'sessionFactory' threw exception; nested exception is java.lang.TypeNotPresentException: Type javafx.util.Pair not present
I have also tried:
FROM openjdk:8-jdk
RUN apt-get update && apt-get install -y --no-install-recommends openjfx && rm -rf /var/lib/apt/lists/*
which has not worked.
Does anyone have a good solution?