Skip to content

Commit 4593297

Browse files
committed
Fix local test set failing on Docker
Running apt-get openjfx installs openjfx-11 which is incompatible with openjdk-8. Workaround is to install older version of openjfx.
1 parent cd6d816 commit 4593297

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docker/robot-javafx-demo/Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ RUN apt-get -qq update && apt-get dist-upgrade -y && apt-get install -qq --no-i
1010
python-setuptools \
1111
wget \
1212
openjdk-8-jre \
13-
openjfx \
13+
# Install older version of openjfx, current version is incompatible with openjdk8
14+
# Bug ticket: https://bugs.launchpad.net/ubuntu/+source/openjfx/+bug/1799946
15+
openjfx=8u161-b12-1ubuntu2 \
16+
libopenjfx-java=8u161-b12-1ubuntu2 \
17+
libopenjfx-jni=8u161-b12-1ubuntu2 \
18+
openjfx-source=8u161-b12-1ubuntu2 \
1419
&& apt-get clean && rm -rf /var/lib/apt/lists/*
1520

1621
COPY test.sh /bin/test.sh

0 commit comments

Comments
 (0)