From 4a13e0bb705564a935b0981b8f73d2fdf7f5808c Mon Sep 17 00:00:00 2001 From: Hugo Herter Date: Thu, 2 Mar 2023 15:05:16 +0100 Subject: [PATCH] Fix: Version could not be detected in pip install --- docker/python-3.10.dockerfile | 1 + docker/python-3.11.dockerfile | 1 + docker/python-3.9.dockerfile | 1 + 3 files changed, 3 insertions(+) diff --git a/docker/python-3.10.dockerfile b/docker/python-3.10.dockerfile index c27a87a7..98d27a78 100644 --- a/docker/python-3.10.dockerfile +++ b/docker/python-3.10.dockerfile @@ -28,6 +28,7 @@ COPY . . USER root RUN chown -R user:user /opt/aleph-sdk-python +RUN git config --global --add safe.directory /opt/aleph-sdk-python RUN pip install -e .[testing,ethereum,solana,tezos] RUN mkdir /data diff --git a/docker/python-3.11.dockerfile b/docker/python-3.11.dockerfile index c5653281..d3c5022c 100644 --- a/docker/python-3.11.dockerfile +++ b/docker/python-3.11.dockerfile @@ -28,6 +28,7 @@ COPY . . USER root RUN chown -R user:user /opt/aleph-sdk-python +RUN git config --global --add safe.directory /opt/aleph-sdk-python RUN pip install -e .[testing,ethereum,solana,tezos] RUN mkdir /data diff --git a/docker/python-3.9.dockerfile b/docker/python-3.9.dockerfile index a4b5ebcf..48d27592 100644 --- a/docker/python-3.9.dockerfile +++ b/docker/python-3.9.dockerfile @@ -28,6 +28,7 @@ COPY . . USER root RUN chown -R user:user /opt/aleph-sdk-python +RUN git config --global --add safe.directory /opt/aleph-sdk-python RUN pip install -e .[testing,ethereum,solana,tezos] RUN mkdir /data