Skip to content

Commit

Permalink
chore: update dev containerr ID
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaffter committed Jan 28, 2025
1 parent f689211 commit d2ea34f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Sage Monorepo Dev Container",
"image": "ghcr.io/sage-bionetworks/sage-monorepo-devcontainer:sha-5cd10f9d963e69f330b283166824ccd2b77bac8d",
"image": "ghcr.io/sage-bionetworks/sage-monorepo-devcontainer:sha-c7e2cdbc88fb8cc4815dafedd92b105e4b9544f2",
"containerEnv": {
"NX_BASE": "${localEnv:NX_BASE}",
"NX_BRANCH": "${localEnv:NX_BRANCH}",
Expand Down Expand Up @@ -116,6 +116,7 @@
"otherPortsAttributes": {
"onAutoForward": "silent"
},
"postCreateCommand": "./tools/workspace-nuke.sh && ./tools/workspace-install.sh",
"shutdownAction": "stopContainer",
"runArgs": ["--name", "sage-monorepo-devcontainer"],
"customizations": {
Expand Down
15 changes: 15 additions & 0 deletions tools/workspace-install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

# Install Node.js dependencies
pnpm install --frozen-lockfile

# Install workspace Python dependencies
# poetry env use $(pyenv which python)
# poetry install --with dev

# Prepare projects
pnpm dlx nx run-many --target=create-config
pnpm dlx nx run-many --target=prepare --projects=tag:language:java --parallel=1
# nx run-many --target=prepare --projects=tag:language:python --parallel=1
pnpm dlx nx run-many --target=prepare --projects=tag:language:r

0 comments on commit d2ea34f

Please sign in to comment.