mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-15 12:50:47 +02:00
* Rename squeakserver to squeaknode and get itest passing * Fix itest dockerfile * Rename more squeakserver to squeaknode * Rename database from squeakserver to squeaknode * Update readme * Remove frontend/build from git * Rename squeakserver to squeaknode in tox and main
28 lines
576 B
Docker
28 lines
576 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 /
|
|
|
|
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/common/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"]
|