Skip to content

Commit

Permalink
lnproto: Fix up the lnprototest docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker committed Sep 18, 2023
1 parent 8a87601 commit 8396d19
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Dockerfile
contrib/docker/Dockerfile.*
target
13 changes: 8 additions & 5 deletions contrib/docker/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,22 @@ RUN ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime

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

COPY . .

# install package for python cryptography lib
# https://cryptography.io/en/latest/installation/#debian-ubuntu

RUN apt-get -qq update && \
apt-get -qq install --no-install-recommends --allow-unauthenticated -yy \
build-essential libssl-dev libffi-dev \
python3-dev cargo
python3-dev cargo python3-pip

COPY . .

RUN pip install poetry && \
poetry export --without-hashes -o /tmp/requirements.txt && \
cat /tmp/requirements.txt && \
pip install -r /tmp/requirements.txt

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

RUN ls -la

CMD ["./contrib/docker/scripts/entrypoint.sh"]

0 comments on commit 8396d19

Please sign in to comment.