Browse Source
c28bfd50d4 Add support for `--docker-install` with an example Dockerfile and some docs on how to use it. (David Parrish)
Pull request description:
This PR allows `install.sh` to run with a `--docker-install` option which installs JoinMarket without virtualenv or sudo. By not installing with virtualenv, it makes running scripts through Docker containers more straight forward. Sudo is also unnecessary because Docker containers run as root by default.
Also included is a minimal Dockerfile which can be used as a starting point for more Docker based JoinMarket services. Documentation is also provided explaining how to use the Dockerfile.
Top commit has no ACKs.
Tree-SHA512: 91abf5b98f1089418d7d3e2154995d690ad86df1aab1d06d5df6ab4412dbaf2addbe24b4cb504db20f251cb59550e4611c316daf505e6d61df6794b5918cd0cd
master
5 changed files with 91 additions and 32 deletions
@ -0,0 +1,13 @@
|
||||
FROM debian:buster-slim |
||||
|
||||
RUN mkdir -p /jm/clientserver |
||||
WORKDIR /jm/clientserver |
||||
|
||||
COPY . . |
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates=* curl=* \ |
||||
python3-pip=* \ |
||||
&& pip3 install 'wheel>=0.35.1' \ |
||||
&& ./install.sh --docker-install \ |
||||
&& apt-get clean \ |
||||
&& rm -rf /var/lib/apt/lists/* |
||||
Loading…
Reference in new issue