Skip to content

Commit

Permalink
REV: Revert poetry and yarn changes to check 3.11 build works
Browse files Browse the repository at this point in the history
  • Loading branch information
thclark authored Oct 8, 2023
1 parent 1331213 commit 93889ff
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,15 @@ WORKDIR /workspace
ENV HISTFILE="/workspace/.devcontainer/.zsh_history"

# Install poetry
USER vscode
ENV POETRY_HOME=/home/vscode/.poetry
RUN curl -sSL https://install.python-poetry.org | python -
ENV PATH "$POETRY_HOME/bin:$PATH"
RUN poetry config virtualenvs.create false

# Overcome the fact that yarn don't bother putting their keys on the ring (required for installing sshd feature)...
# https://github.com/yarnpkg/yarn/issues/7866#issuecomment-1404052064
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmour -o "/usr/share/keyrings/yarn-keyring.gpg" & \
echo "deb [signed-by=/usr/share/keyrings/yarn-keyring.gpg] https://dl.yarnpkg.com/debian stable main" | tee /etc/apt/sources.list.d/yarn.list & \
gpg --refresh-keys & \
apt-get update -y
# USER vscode
# ENV POETRY_HOME=/home/vscode/.poetry
# RUN curl -sSL https://install.python-poetry.org | python -
# ENV PATH "$POETRY_HOME/bin:$PATH"
# RUN poetry config virtualenvs.create false

# # Overcome the fact that yarn don't bother putting their keys on the ring (required for installing sshd feature)...
# # https://github.com/yarnpkg/yarn/issues/7866#issuecomment-1404052064
# RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmour -o "/usr/share/keyrings/yarn-keyring.gpg" & \
# echo "deb [signed-by=/usr/share/keyrings/yarn-keyring.gpg] https://dl.yarnpkg.com/debian stable main" | tee /etc/apt/sources.list.d/yarn.list & \
# gpg --refresh-keys & \
# apt-get update -y

0 comments on commit 93889ff

Please sign in to comment.