Skip to content

add .devcontainer#17

Open
KrisThielemans wants to merge 1 commit into
masterfrom
devcontainer
Open

add .devcontainer#17
KrisThielemans wants to merge 1 commit into
masterfrom
devcontainer

Conversation

@KrisThielemans

@KrisThielemans KrisThielemans commented Sep 27, 2025

Copy link
Copy Markdown
Collaborator

Attempt to add a devcontainer for VS Code and Github Codespaces etc.

I'm trying to use https://github.com/devcontainers/images/tree/main/src/anaconda and the conda-forge version of STIR.

@KrisThielemans KrisThielemans self-assigned this Sep 27, 2025
@KrisThielemans

Copy link
Copy Markdown
Collaborator Author

I still need to set the environment variable STIR_exercises_PATH, which would have to be set to /workspaces/STIR-exercises somehow. Not sure what the best way is.

However, creating a Codespace on this branch doesn't do what it's supposed to: the environment.yml is not used. (I'm not sure if requirements.sh is executed, but rsync is present).

Details ``` echo Container started Unable to find image 'mcr.microsoft.com/devcontainers/anaconda:latest' locally latest: Pulling from devcontainers/anaconda c19952135643: Already exists 7bbf972c6c2f: Already exists ee7110209eda: Already exists f26525603050: Already exists 8aba624455f2: Already exists 612a8cbe76d7: Already exists f620ba535389: Already exists fa84871c7a39: Already exists a13c85915a9e: Pulling fs layer f04145f46f22: Pulling fs layer f04145f46f22: Extracting 291.3MB/1.501GB 671c0354a9fc: Download complete e3e8354a5225: Download complete d31ee758e204: Download complete 4d1adf07b77e: Download complete 4448f1f8d7e8: Download complete 4f4fb700ef54: Download complete ee9f6e22425e: Download complete 4cbe3bb2e8ca: Download complete 98d4ae5a6faf: Download complete ```

Possibly, I need to explicitly call conda install (although the doc of the image implies it's part of its docker start-up). @casperdcl maybe you have a suggestion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant