mirror of
https://github.com/basicswap/basicswap.git
synced 2024-12-23 03:49:25 +00:00
docker: Add build args for repo.
This commit is contained in:
parent
dc0bd147b8
commit
3241616d68
2 changed files with 11 additions and 3 deletions
|
@ -173,3 +173,9 @@ Prepare wallet:
|
||||||
docker-compose -f docker-compose-prepare.yml stop
|
docker-compose -f docker-compose-prepare.yml stop
|
||||||
|
|
||||||
docker-compose up
|
docker-compose up
|
||||||
|
|
||||||
|
|
||||||
|
# Notes
|
||||||
|
|
||||||
|
Switch Basicswap repo:
|
||||||
|
docker-compose build swapclient --build-arg BASICSWAP_URL=https://github.com/tecnovert/basicswap/archive/refs/heads/dev.zip --build-arg BASICSWAP_DIR=basicswap-dev
|
||||||
|
|
|
@ -22,9 +22,11 @@ RUN wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archiv
|
||||||
cd coincurve-anonswap && \
|
cd coincurve-anonswap && \
|
||||||
python3 setup.py install --force
|
python3 setup.py install --force
|
||||||
|
|
||||||
RUN wget -O basicswap-master.zip https://github.com/tecnovert/basicswap/archive/master.zip; \
|
ARG BASICSWAP_URL=https://github.com/tecnovert/basicswap/archive/master.zip
|
||||||
unzip basicswap-master.zip; \
|
ARG BASICSWAP_DIR=basicswap-master
|
||||||
cd basicswap-master; \
|
RUN wget -O basicswap-repo.zip $BASICSWAP_URL; \
|
||||||
|
unzip basicswap-repo.zip; \
|
||||||
|
cd $BASICSWAP_DIR; \
|
||||||
protoc -I=basicswap --python_out=basicswap basicswap/messages.proto; \
|
protoc -I=basicswap --python_out=basicswap basicswap/messages.proto; \
|
||||||
pip3 install .;
|
pip3 install .;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue