We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcca8e3 commit 49e0166Copy full SHA for 49e0166
Dockerfile
@@ -80,4 +80,13 @@ RUN echo "Etc/UTC" > /etc/timezone
80
81
RUN echo 'APT::Install-Recommends "false";' >> /etc/apt/apt.conf.d/99-recommends
82
83
+# setup poetry
84
+ENV POETRY_VERSION="2.1.2"
85
+ENV POETRY_INSTALL_PATH="${HOME}/.local/share/poetry"
86
+RUN python -m venv ${POETRY_INSTALL_PATH} && \
87
+ ${POETRY_INSTALL_PATH}/bin/pip install -U pip setuptools && \
88
+ ${POETRY_INSTALL_PATH}/bin/pip install poetry==${POETRY_VERSION} && \
89
+ ${POETRY_INSTALL_PATH}/bin/poetry config virtualenvs.create false && \
90
+ ln -s ${POETRY_INSTALL_PATH}/bin/poetry /usr/local/bin/poetry
91
+
92
CMD ["zsh"]
0 commit comments