Mercurial > hg > orthanc-book
annotate Sphinx/buildWithDocker.ps1 @ 822:0f4f11636193
transfers atomicity
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 21 Mar 2022 12:54:40 +0100 |
parents | 64d1ddab8246 |
children |
rev | line source |
---|---|
297
64d1ddab8246
Improved PDF creation Pwsh snippet + added Dicom instance upload example with
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
1 # This has been tested with Docker for Windows CE version 2.0.0.2 (30215) |
64d1ddab8246
Improved PDF creation Pwsh snippet + added Dicom instance upload example with
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
2 # on Windows 10 Pro x64 (10.0.17134) with stock Powershell (5.1) |
64d1ddab8246
Improved PDF creation Pwsh snippet + added Dicom instance upload example with
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
3 |
64d1ddab8246
Improved PDF creation Pwsh snippet + added Dicom instance upload example with
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
4 docker build -t orthanc-book-builder . |
64d1ddab8246
Improved PDF creation Pwsh snippet + added Dicom instance upload example with
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
5 |
64d1ddab8246
Improved PDF creation Pwsh snippet + added Dicom instance upload example with
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
6 $pwdSlash = $pwd.Path.Replace("\","/") |
64d1ddab8246
Improved PDF creation Pwsh snippet + added Dicom instance upload example with
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
7 docker run --rm -v "$($pwdSlash):/app" orthanc-book-builder |
64d1ddab8246
Improved PDF creation Pwsh snippet + added Dicom instance upload example with
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
8 |
64d1ddab8246
Improved PDF creation Pwsh snippet + added Dicom instance upload example with
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
9 docker rmi orthanc-book-builder # since we rebuild it anyway, no need to keep it -> don't accumulate <none> images |