mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-16 13:01:04 +02:00
* Rename secret_key * More work to convert to using PTLC * Updated most code for PTLC * More work to use ptlc with secret key * Got itest passing * Remove unused import * Use version 0.5.0 of squeaklib * Added simple unit test for squeak controller * Use modular addition subtraction for secret key nonce tweak * Move util to core folder * Store secret key as hex in database * Store nonce as hex in db
29 lines
595 B
Docker
29 lines
595 B
Docker
FROM ubuntu:20.04
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
RUN apt-get update && apt-get install -y \
|
|
python3-pip \
|
|
git
|
|
|
|
COPY requirements-itest.txt /
|
|
COPY libs /libs
|
|
|
|
RUN pip3 install --upgrade pip && \
|
|
pip3 install -r requirements-itest.txt
|
|
|
|
WORKDIR /app
|
|
|
|
# Download the rpc files.
|
|
RUN git clone https://github.com/googleapis/googleapis.git
|
|
|
|
COPY proto ./proto
|
|
COPY install-rpc.sh itests/test.sh squeaknode/lightning/lnd_lightning_client.py ./
|
|
COPY itests/tests ./tests
|
|
|
|
# Install the gRPC files.
|
|
RUN chmod +x install-rpc.sh && \
|
|
./install-rpc.sh
|
|
|
|
RUN chmod +x test.sh
|
|
|
|
CMD ["bash", "test.sh"]
|