Skip to content

Commit

Permalink
Use curl installer for poetry (#3114)
Browse files Browse the repository at this point in the history
* use curl installer

* simplify quotation
  • Loading branch information
OmarElawady committed May 25, 2021
1 parent cd2070b commit 8d6b956
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jumpscale/install/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ ARG BRANCH
ARG TRC=false
RUN apt-get update && apt-get install curl wget git python3-pip python3-venv redis-server tmux nginx restic -y

RUN pip3 install poetry
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 -
RUN bash -c 'echo PATH=/root/.poetry/bin:\${PATH} >> ~/.bashrc'
ENV PATH=/root/.poetry/bin:$PATH
RUN mkdir -p /sandbox/code/github/threefoldtech

RUN git clone https://github.com/threefoldtech/js-sdk.git /sandbox/code/github/threefoldtech/js-sdk -b $BRANCH
Expand Down

0 comments on commit 8d6b956

Please sign in to comment.