Hi,
I am have been trying to build QuPath v0.2.3 with tensorflow and StarDist from source, using adoptopenjdk-14-hotspot. I got to a similar stage as other users in this issue.
I can build from source, but two tests still fail. I was wondering if you would be able to provide advice on how to get the tests to pass. Hopefully the dockerised tool will be useful for others too!
Best wishes,
Ignacio
FROM debian:buster
# docker build -t qupath:latest -t qupath:v0.1 .
# docker tag qupath:v0.1 ivazquez/qupath:v0.1
# docker tag qupath:latest ivazquez/qupath:latest
# docker push ivazquez/qupath:v0.1
# docker push ivazquez/qupath:latest
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y sudo tree wget git && \
apt-get install -y gnupg2
ENV DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y binutils && \
apt-get install -y unattended-upgrades && \
apt-get install -y dbus-x11 && \
apt-get install -y software-properties-common && \
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add - && \
sudo add-apt-repository -y https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ && \
apt-get update && \
sudo apt-get install -y adoptopenjdk-14-hotspot && \
export JAVA_HOME=/usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/
# QuPath source with tensorflow
RUN export DISPLAY=:0.0 && \
git clone --branch v0.2.3 https://github.com/qupath/qupath.git && \
cd qupath && \
./gradlew clean build createPackage -x test -Ptensorflow-cpu=true
USER root