I have wrote the Dockerfile and installed the jdk-8, but the javafx is from 11 version. I know the version from javafx when i apt purge openjfx, how can i make it compatibale with javafx-8 ?
FROM jenkins/ssh-agent:4.1.0-jdk8
ARG USER=jenkins
RUN apt-get update \
&& apt-get install -y build-essential checkinstall wget \
&& apt-get install -y openjfx \
&& apt-get install -y libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev \
&& cd /usr/src \
&& wget https://www.python.org/ftp/python/2.7.5/Python-2.7.5.tgz \
&& tar xzf Python-2.7.5.tgz \
&& cd Python-2.7.5 \
&& ./configure \
&& make altinstall \
&& python2.7 -V \
I have tried this, but not working
apt install openjfx=8u161-b12-1ubuntu2 libopenjfx-jni=8u161-b12-1ubuntu2 libopenjfx-java=8u161-b12-1ubuntu2
apt-mark hold openjfx libopenjfx-jni libopenjfx-java