FROM opensuse/leap:latest
RUN zypper -n install wget
RUN wget -q https://updates.timedoctor.com/download/_production/tdlite/linux/timedoctorlite-setup-2.3.49-linux-x64.run -O ~/td.run &&\
cd ~/ &&\
chmod +x td.run
RUN zypper -n install \
libglib-2_0-0 \
libX11-6 \
libXi6 libXi-devel \
Mesa-libGL1 Mesa-libGL-devel \
libtbb2 \
libpng12-0 libpng12-devel \
libtiff5 libtiff-devel \
libjasper4 libjasper-devel
Required docker
.
Create file named Dockerfile
where you want with content mention above. And run next command in that dir
docker build -t odt .
after build run container
docker run -it odt
in runned container go to $HOME dir (there are td.run file) and install manually:
cd ~/
./td.run
and finnaly try to start:
cd timedoctorlite && ./timedoctorlite
4cb9e5121193:~ # ls /usr/lib64 | grep jasper
libjasper.so
libjasper.so.4
libjasper.so.4.0.0
But when start DT:
4cb9e5121193:~ # ./timedoctorlite/timedoctorlite
/root/timedoctorlite/timedoctorlite.run: error while loading shared libraries: libjasper.so.1: cannot open shared object file: No such file or directory
Search in repos:
4cb9e5121193:~ # zypper search libjasper
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
---+------------------+------------------------------------------------------+--------
i+ | libjasper-devel | Development files for libjasper, a JPEG-2000 library | package
i+ | libjasper4 | JPEG-2000 library | package
| libjasper4-32bit | JPEG-2000 library | package
4cb9e5121193:~ # zypper search libjasper1
Loading repository data...
Reading installed packages...
No matching items found.