/OrthancDocker

Docker Hub repository for Orthanc

Primary LanguageShellGNU Affero General Public License v3.0AGPL-3.0

#************************************************************************************# Orthanc for Docker

Introduction

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.

This next session is from the orignal README.

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.

Changes in this fork

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

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:

  1. Build the raspi/base docker image
cd base
./build.sh
  1. Build the raspi/orthanc-big image
cd ../orthanc-plugins-big
./build.sh

On a Raspberry Pi 4 this takes 4892 seconds.

  1. 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.