From 2e21f75ef2a85b59db3285b02602960c1aa42c21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bianca=20L=C3=B6hnert?= <bianca@loehnert-net.at>
Date: Mon, 20 Jun 2022 15:17:49 +0200
Subject: [PATCH 1/3] add dockerfile

---
 Dockerfile | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 Dockerfile

diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..0ddb300
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,20 @@
+FROM debian:stable
+
+# Update apt
+RUN apt-get -y update
+
+WORKDIR /opt
+
+# Install dependencies
+RUN apt-get -y install git python3-pip
+
+# Upgarade Pip
+RUN /usr/bin/python3 -m pip install --upgrade pip
+
+# Install python3 to generate test data by "bids-misc-scripts"
+RUN pip install numpy
+RUN pip install pydicom
+
+RUN git clone https://frosch.cosy.sbg.ac.at/anc/bids-misc-scripts.git
+
+ENTRYPOINT ["/usr/bin/python3", "/opt/bids-misc-scripts/dicom-util/generate_dicom.py"]
-- 
GitLab


From f737351695ccdc7e50b6bd501b560b640cecf55d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bianca=20L=C3=B6hnert?= <bianca@loehnert-net.at>
Date: Mon, 20 Jun 2022 15:31:02 +0200
Subject: [PATCH 2/3] add information to generate DICOMs with the docker
 container

---
 README.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/README.md b/README.md
index 8f84313..0123fc5 100644
--- a/README.md
+++ b/README.md
@@ -98,6 +98,10 @@ There is no JSON schema validation at the moment. Each image object must have th
 ```
 python3 generate_dicom.py --help
 ```
+or using the docker image from the project's container registry (mount the volumes if necessary):
+```
+sudo docker run --rm -it frosch.cosy.sbg.ac.at:4567/anc/bids-misc-scripts -h
+```
 
 ### Dependencies
 
-- 
GitLab


From f3b562ae5af2af4661d131c1ba25d63dcac1b49c Mon Sep 17 00:00:00 2001
From: Mateusz Pawlik <mateusz.pawlik@plus.ac.at>
Date: Tue, 21 Jun 2022 07:45:52 +0200
Subject: [PATCH 3/3] modify comment

---
 Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 0ddb300..54d0838 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,7 +11,7 @@ RUN apt-get -y install git python3-pip
 # Upgarade Pip
 RUN /usr/bin/python3 -m pip install --upgrade pip
 
-# Install python3 to generate test data by "bids-misc-scripts"
+# Install python dependencies to generate test data by "bids-misc-scripts"
 RUN pip install numpy
 RUN pip install pydicom
 
-- 
GitLab