Skip to content

Commit 9afcec0

Browse files
cdeckerrustyrussell
authored andcommitted
lnproto: Fix up the lnprototest docker image
1 parent 414f65f commit 9afcec0

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
Dockerfile
22
contrib/docker/Dockerfile.*
3+
target

contrib/docker/Dockerfile.ubuntu

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,22 @@ RUN ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime
1919

2020
RUN locale-gen en_US.UTF-8 && dpkg-reconfigure --frontend noninteractive tzdata
2121

22-
COPY . .
23-
2422
# install package for python cryptography lib
2523
# https://cryptography.io/en/latest/installation/#debian-ubuntu
2624

2725
RUN apt-get -qq update && \
2826
apt-get -qq install --no-install-recommends --allow-unauthenticated -yy \
2927
build-essential libssl-dev libffi-dev \
30-
python3-dev cargo
28+
python3-dev cargo python3-pip
29+
30+
COPY . .
31+
32+
RUN pip install poetry && \
33+
poetry export --without-hashes -o /tmp/requirements.txt && \
34+
cat /tmp/requirements.txt && \
35+
pip install -r /tmp/requirements.txt
3136

3237
# move the script in the root of the directory
3338
RUN cp contrib/docker/scripts/*.sh .
3439

35-
RUN ls -la
36-
3740
CMD ["./contrib/docker/scripts/entrypoint.sh"]

0 commit comments

Comments
 (0)