[bisq-network/bisq] Add Docker configuration (#2710)

Bernard Labno notifications at github.com
Wed Apr 24 12:27:14 UTC 2019

blabno commented on this pull request.

> @@ -0,0 +1,14 @@
+FROM openjdk:10-jdk
+# This docker image should be used with
+# `docker run ... -v /path/to/host/dir:/root/.local/share/Bisq` in order to
+# persist Bisq configuration to the host.
+RUN apt-get update \
+  && apt-get install -y x11-apps \
+  && rm -rf /var/lib/apt/lists/*
+RUN mkdir /src && git clone https://github.com/bisq-network/bisq /src/bisq
+WORKDIR /src/bisq
+RUN ./gradlew build
+VOLUME /home/root/.local/share/Bisq

add `CMD ./bisq-desktop`
so that user could invoke `run` without additional command param

> @@ -0,0 +1,38 @@
+# Running Bisq using Docker
+Running Bisq using Docker has currently only been tested using Linux.
+## Build the image
+docker build -t bisq .
+## Running Bisq

It would be nice to have docker-compose configured with several containers like 
- prod, which would have default volume bound to `$HOME/.local/share/Bisq`
- dev, without data dir volume bound

That way user would only need to call `docker-compose up prod` or `docker-compose up dev`

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190424/1f3ec475/attachment.html>

More information about the bisq-github mailing list