aboutsummaryrefslogtreecommitdiffstats
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-05-13 15:17:51 +0530
committerLibravatar GitHub <noreply@github.com>2021-05-13 15:17:51 +0530
commit8611e5b54e7b22f739ac647a0cadb6e67d29e5bd (patch)
treef884ad43ed92117a4733a5c60a336dcfa66eb4b9 /CONTRIBUTING.md
parentNew Crowdin updates (#1401) (diff)
downloadferdium-app-8611e5b54e7b22f739ac647a0cadb6e67d29e5bd.tar.gz
ferdium-app-8611e5b54e7b22f739ac647a0cadb6e67d29e5bd.tar.zst
ferdium-app-8611e5b54e7b22f739ac647a0cadb6e67d29e5bd.zip
Clarifying documentation about building for linux using docker (#1407)
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md16
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
137docker build -t ferdi-package . 137docker build -t ferdi-package .
138docker run -v tmp-out:/ferdi-out -it ferdi-package sh
139``` 138```
140 139
141The 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). 140The above will place all the built artifacts into the `/ferdi` folder within the image.
141
142If 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
145mkdir -p tmp-out
146docker run -v $PWD/tmp-out:/ferdi-out -it ferdi-package sh
147# inside the container:
148mv /ferdi/Ferdi-5.6.0-nightly.18.AppImage /ferdi-out/Ferdi-`date +%Y-%b-%d`.AppImage
149mv /ferdi/ferdi-5.6.0-nightly.18.tar.gz /ferdi-out/Ferdi-`date +%Y-%b-%d`.tar.gz
150mv /ferdi/ferdi-5.6.0-nightly.18.x86_64.rpm /ferdi-out/Ferdi-`date +%Y-%b-%d`.x86_64.rpm
151mv /ferdi/ferdi_5.6.0-nightly.18_amd64.deb /ferdi-out/Ferdi_`date +%Y-%b-%d`_amd64.deb
152mv /ferdi/ferdi /ferdi-out/Ferdi_`date +%Y-%b-%d`
153```
142 154
143### Start development app 155### Start development app
144 156