File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ RUN rm /bin/sh && ln -s /bin/bash /bin/sh
6161
6262# Clone PyDesigner
6363RUN mkdir -p /tmp/PyDesigner
64+ RUN pip3 install cmake
6465RUN git clone -b develop --single-branch https://github.com/m-ama/PyDesigner.git /tmp/PyDesigner
6566RUN pip3 install /tmp/PyDesigner
6667RUN echo "alias python=python3" >> ~/.bashrc && source ~/.bashrc
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -42,8 +42,7 @@ RUN apt-get update && \
4242 nano \
4343 software-properties-common \
4444 python2.7 python-pip \
45- python3-pip \
46- jq
45+ python3-pip
4746
4847# Install MRTRIX3 dependencies
4948RUN apt-get install -y --no-install-recommends \
@@ -62,7 +61,9 @@ RUN rm /bin/sh && ln -s /bin/bash /bin/sh
6261
6362# Clone PyDesigner
6463ADD install_pydesigner_release /tmp/install_pydesigner_release
64+ RUN sed -i 's/\r//g' /tmp/install_pydesigner_release
6565RUN chmod +x /tmp/install_pydesigner_release && bash /tmp/install_pydesigner_release
66+ RUN pip3 install cmake
6667RUN cd /tmp/PyDesigner && pip3 install .
6768RUN echo "alias python=python3" >> ~/.bashrc && source ~/.bashrc
6869RUN echo "alias pip=pip3" >> ~/.bashrc && source ~/.bashrc
Original file line number Diff line number Diff line change 11#! /bin/bash
22# Downloads and extractslatest release PyDesigner into /tmp/PyDesigner
33mkdir -p /tmp/PyDesigner
4- export URL=$( curl -s https://api.github.com/repos/m-ama/PyDesigner/releases | jq -r ' .[0] | .tarball_url ' )
4+ export URL=$( curl -s https://api.github.com/repos/m-ama/PyDesigner/releases/latest | grep " tarball " | cut -d ' " ' -f 4 )
55wget -q -O - $URL | tar -xzvf - -C /tmp/PyDesigner --strip 1
You can’t perform that action at this time.
0 commit comments