Skip to content

Commit

Permalink
add poetry for pulumi python support
Browse files Browse the repository at this point in the history
  • Loading branch information
usrbinkat committed Nov 3, 2024
1 parent d6bed77 commit 624e1dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/slim-python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ RUN echo \
ENV POETRY_HOME="/usr/local" \
PATH="${POETRY_HOME}/bin:${PATH}"

USER root
RUN PYTHON_VERSION=$(python3 --version | cut -d' ' -f2 | cut -d'.' -f1,2) \
&& NAME="poetry" \
&& echo "---------------------------------------------------------" \
Expand All @@ -61,4 +62,5 @@ RUN PYTHON_VERSION=$(python3 --version | cut -d' ' -f2 | cut -d'.' -f1,2) \
/etc/skel/.config/pypoetry \
&& chown -R vscode:vscode /home/vscode/.config \
&& echo
USER vscode

0 comments on commit 624e1dd

Please sign in to comment.