Skip to content

Conversation

@hannahwestra25
Copy link
Contributor

@hannahwestra25 hannahwestra25 commented Dec 23, 2025

Description

This PR re-uses the environment that is created by the base image (opt/venv) and while giving it the alias pyrit-dev so that in the terminal the environment shows as (pyrit-dev). It also removes the previous hashing logic and stores the hash in the envionment explicitly rather than the shared volume cache.

What was previously happening:
Create container → Install packages → Save hash to volume
Delete container → Hash persists on volume, but venv is gone
Create new container → Hash matches, setup script skips installation → No packages!

also, uses the active environment when running the makefile so make works locally and in our pipelines

Tests and Documentation

@hannahwestra25 hannahwestra25 changed the title DRAFT: set virtual env FIX: set virtual env in docker dev setup Dec 23, 2025
@hannahwestra25 hannahwestra25 merged commit aec14c4 into Azure:main Dec 26, 2025
20 checks passed
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.

2 participants