commit e884e9bca6c175ce8bb25dfa965018230f82adff
parent 4cbd180c799da5e4c7ff1456a740a2832e9e1bc2
Author: Jaromil <jaromil@dyne.org>
Date: Wed, 20 Nov 2019 15:41:23 +0100
completed the readme a bit
Diffstat:
1 file changed, 17 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md
@@ -5,6 +5,8 @@ This is a simple script to convert a
shell script that can be executed to replicate the same commands on
any machine or chroot.
+[![software by Dyne.org](https://files.dyne.org/software_by_dyne.png)](http://www.dyne.org)
+
Its primary use is coupled with the [Devuan
SDK](https://git.devuan.org/sdk) where we use Docker to prototype and
then this script to "toast" the prototype inside a Devuan blend.
@@ -12,6 +14,21 @@ then this script to "toast" the prototype inside a Devuan blend.
Another use is inside the
[Toaster.DO](https://github.com/DECODEproject/toaster.do) project.
+It can also export the Dockerfile to a JSON formatted AST.
+
+```
+usage: docker2sh.py [-h] [-j] [-s] [--keeptabs] Dockerfile
+
+positional arguments:
+ Dockerfile
+
+optional arguments:
+ -h, --help show this help message and exit
+ -j, --json output the data as a JSON structure
+ -s, --shell output the data as a shell script (default)
+ --keeptabs do not replace \t (tabs) in the strings
+```
+
# Licensing
Docker2sh is Copyright (C) 2018 - 2019 by the Dyne.org Foundation