diff Sphinx/buildWithDocker.ps1 @ 297:64d1ddab8246

Improved PDF creation Pwsh snippet + added Dicom instance upload example with Pwsh + added Windows docker script to generate book
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 20 Jan 2020 14:43:22 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Sphinx/buildWithDocker.ps1	Mon Jan 20 14:43:22 2020 +0100
@@ -0,0 +1,9 @@
+# This has been tested with Docker for Windows CE version 2.0.0.2 (30215)
+# on Windows 10 Pro x64 (10.0.17134) with stock Powershell (5.1)
+
+docker build -t orthanc-book-builder .
+
+$pwdSlash = $pwd.Path.Replace("\","/")
+docker run --rm -v "$($pwdSlash):/app" orthanc-book-builder
+
+docker rmi orthanc-book-builder  # since we rebuild it anyway, no need to keep it -> don't accumulate <none> images