Skip to content

Commit

Permalink
Updating yarn key in Dockerfile
Browse files Browse the repository at this point in the history
as per yarnpkg/yarn#6865 (comment). Unsure if there is a better way of addressing this!
  • Loading branch information
mgpritchard committed Sep 13, 2022
1 parent 98f3363 commit 9e69fff
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .devcontainer/Dockerfile
Expand Up @@ -19,8 +19,11 @@ ARG NODE_VERSION="lts/*"
RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "source /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi

# [Optional] Uncomment this section to install additional OS packages.
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends build-essential ghc gnat clisp openjdk-11-jdk swi-prolog python g++ libghc-stm-dev golang-go
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
#updating yarn key as per https://github.com/yarnpkg/yarn/issues/6865#issuecomment-772047314
RUN apt-get update
#&& export #DEBIAN_FRONTEND=noninteractive \ #commenting this out as unsure of purpose
RUN apt-get -y install --no-install-recommends build-essential ghc gnat clisp openjdk-11-jdk swi-prolog python g++ libghc-stm-dev golang-go

# [Optional] Uncomment this line to install global node packages.
# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1
Expand Down

0 comments on commit 9e69fff

Please sign in to comment.