diff options
-rw-r--r-- | CONTRIBUTING.md | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 82894cf5a..efcc4eac3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md | |||
@@ -135,10 +135,22 @@ npm install && npm run package | |||
135 | 135 | ||
136 | ```bash | 136 | ```bash |
137 | docker build -t ferdi-package . | 137 | docker build -t ferdi-package . |
138 | docker run -v tmp-out:/ferdi-out -it ferdi-package sh | ||
139 | ``` | 138 | ``` |
140 | 139 | ||
141 | The above will place all the built artifacts into the `/ferdi` folder within the image. If you want to copy them outside of the image, simply mount a volume into a different location, and copy all files from `/ferdi` into the mounted folder (`/ferdi-out` in the 2nd example command above). | 140 | The above will place all the built artifacts into the `/ferdi` folder within the image. |
141 | |||
142 | If you want to copy them outside of the image, simply mount a volume into a different location, and copy all files from `/ferdi` into the mounted folder (`/ferdi-out` in the example command below). | ||
143 | |||
144 | ```bash | ||
145 | mkdir -p tmp-out | ||
146 | docker run -v $PWD/tmp-out:/ferdi-out -it ferdi-package sh | ||
147 | # inside the container: | ||
148 | mv /ferdi/Ferdi-5.6.0-nightly.18.AppImage /ferdi-out/Ferdi-`date +%Y-%b-%d`.AppImage | ||
149 | mv /ferdi/ferdi-5.6.0-nightly.18.tar.gz /ferdi-out/Ferdi-`date +%Y-%b-%d`.tar.gz | ||
150 | mv /ferdi/ferdi-5.6.0-nightly.18.x86_64.rpm /ferdi-out/Ferdi-`date +%Y-%b-%d`.x86_64.rpm | ||
151 | mv /ferdi/ferdi_5.6.0-nightly.18_amd64.deb /ferdi-out/Ferdi_`date +%Y-%b-%d`_amd64.deb | ||
152 | mv /ferdi/ferdi /ferdi-out/Ferdi_`date +%Y-%b-%d` | ||
153 | ``` | ||
142 | 154 | ||
143 | ### Start development app | 155 | ### Start development app |
144 | 156 | ||