#************************************************************************************# Orthanc for Docker
This repository is a fork of the official OrthancDocker repository. Only a subset of the files in this fork have been modified from the original. The purpose of this fork is to create a docker running Orthanc with the python plugin on a Raspberry Pi 4 with 4GB RAM. There have been zero changes to the Orthanc source code - only some changes in how the dockers are constructed.
There are no guarantees that this is a complete Orthanc implementation - only that it appears to run as expected (which is - it runs very well).
This is a work in progress.
Docker Hub repository to build Orthanc and its official plugins. Orthanc is a lightweight, RESTful Vendor Neutral Archive for medical imaging.
Full documentation is available in the Orthanc Book.
The content of this Docker repository is licensed under the AGPLv3+ license.
Note: This fork contains several small changes so that docker instances can be created for the Raspberry Pi 4 (64 bit OS). The original repo is focused on on LSB (Linux Standard Base) binaries for AMD64 systems. Very little is changed here - instead of pre-compiled binaries being loaded into docker files the files are compiled for source. It takes a while on a Raspberry Pi w/4GB RAM.
Other changes include
- changing the base image from ubuntu:14.04 to ubuntu:22.04
- version of Python from 3.7 to 3.10.12.
- Also - the calls to mercurial (e.g., 'hg') have all been replaced with wget calls to the zip files for the source (such as 'https://www.orthanc-server.com/downloads/get.php?path=/plugin-dicom-web/OrthancDicomWeb-1.15.tar.gz') because the mercurial URLs returned 404 messages.
There are some other minor changes made in the installed packages. These were made simply to get the system to compile. Also - changes were only made in the base, orthanc-plugins-big, and orthanc-python subdirectories. Little testing has been done except that simple python programs run successfully.
The orthanc-big, orthac-debug, orthanc-tests, wasm subfolders have not been modified and will not work with the Raspberry Pi without some (minor) additional work.
To build the Orthanc image with the python plugin - follow these steps:
- Build the
raspi/base
docker image
cd base
./build.sh
- Build the
raspi/orthanc-big
image
cd ../orthanc-plugins-big
./build.sh
On a Raspberry Pi 4 this takes 4892 seconds.
- Build the
raspi/orthanc-python
image:
cd ../orthanc-python
./build.sh
On a Raspberry Pi 4 this takes 118 seconds.
If you want to add more python packages for your plugin either modify the last Docker - or simply create a new docker that builds on top of the raspi/orthanc-python
image which includes the various calls to pip.