Skip to content
This repository was archived by the owner on Jul 18, 2022. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@ ARG NODE_VERSION="none"
RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi

# Install poetry
RUN apt-get update && apt-get install curl -y && \
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -

# Configure poetry env
RUN su vscode -c "poetry config virtualenvs.in-project true"
RUN curl -sSL "https://install.python-poetry.org" | python && \
su vscode -c "sudo /root/.local/bin/poetry config virtualenvs.in-project true"

# Install jshint
RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g jshint" 2>&1