# ask-the-community

Richard Li

06/28/2023, 6:44 PM
Has anyone encountered ImageSpec removing packages? I ran
python -m pip list
inside my base image container and new image container, and noticed that the new image is missing several packages. In trying to debug this, I didn't specify any new packages to install in the image spec, so the images should be identical.

Samhita Alla

06/29/2023, 1:31 PM
That shouldn't happen. How does your ImageSpec look and what packages are being removed?

Richard Li

06/29/2023, 5:41 PM
Figured it out with envd team. It's due to envd changing the USER when building the image.