Skip to content

Commit

Permalink
Fix Yarn version in devcontainer (mastodon#27788)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmstan authored Nov 9, 2023
1 parent 548bb30 commit b87bfb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
RUN gem install foreman

# [Optional] Uncomment this line to install global node packages.
RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g yarn" 2>&1
RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && corepack enable" 2>&1

COPY welcome-message.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt
1 change: 1 addition & 0 deletions .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ bundle install
git checkout -- Gemfile.lock

# Fetch Javascript dependencies
corepack prepare
yarn install --immutable

# [re]create, migrate, and seed the test database
Expand Down

0 comments on commit b87bfb8

Please sign in to comment.