/orthanc-builder

Repo used to build osimis/orthanc docker images, windows installers and OSX packages

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

Description

This repo contains build instructions for the following components:

  • the osimis/orthanc Docker image
  • the Windows installer
  • the MacOS package (zip with Orthanc executable and plugins)

The Docker image is rebuilt from scratch (Orthanc and all its plugins are compiled during the build process). Windows Installer and MacOS package are collecting build artifacts from the Orthanc buildbot server.

Where to find the releases ?

stable releases

unstable releases (nightly builds)

Notes:

  • to build stable Docker images locally, use ./local-build.sh skipCommitChecks=1. This produces osimis/orthanc:current images.
  • The MacOS package does not contain the WSI plugin that can currently be built only for Intel processors.

building ARM 64 docker images

You can use this repo to build linux/arm64 docker images but we are currently not able to build them on our build slaves because, with QEMU emulation, a build would take more than 12 hours which is the limit of github actions.

Hereunder, you'll find the full instructions to build ARM64 docker images on MacOS (note: this won't build Azure & Google object-storage plugins). Note, the StoneViewer build can last very long (multiple hours) because it is using an emulated container to build the WebAssembly code:

brew install jq
brew install hg

git clone https://github.com/orthanc-server/orthanc-builder.git
cd orthanc-builder
./local-build.sh version=stable platform=linux/arm64 image=normal

This produces an image osimis/orthanc:current.

Continuous Builds

  • MacOS stable/unstable binaries and packages are rebuilt every night (if needed) and on every commit
  • Windows stable installers are rebuilt at every commit, they are available at:
  • Docker stable and unstable images are rebuilt every night and on every commit of this repo, they are available as:
    • osimis/orthanc:master-stable
    • osimis/orthanc:master-unstable
  • Integration tests are run for every Docker build

Troubleshooting (for dev)

  • if a MacOS build fails, you may connect to the build slave thanks to tmate. Access is limited to approved actors with their SSH Github key.

Contributions

You must sign a CLA before we are able to accept your contributions/pull-requests.