Reputation: 65
I have a image based on Linux (CentOS Linux) with Java OpenJDK 11. I'm trying to install javafx on the image by this dockerfile:
USER root
yum -y update && \
yum install –y openjfx
But when i try to build the image I get "No package javafx available." and " yum install OCoy javafx' returned a non-zero code: 1" What am I doing wrong? Is there another way of including JavaFX libraries on a docker image?
Upvotes: 0
Views: 1754