-
-
Notifications
You must be signed in to change notification settings - Fork 31
Closed as not planned
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
There is over 1.4 gigabytes in the writable layer of the home assistant docker image. This also means the total image size is over 1.4 gigabytes larger than it should be.
Either this change, aptly named "hail mary", or the original change, "chown system python packages" are the likely culprits.
Ideally, the python installation would not be modified at runtime. But, if there's no way around changing permissions at runtime, the docker image should not include python at all. Instead, install python during the first launch of the container. This would at least shrink the container by 1.4G and not cause /usr/local/lib/python to impact container size by double.
Expected Behavior
The image should not create a 1.5G writable layer.
Steps To Reproduce
- Run the docker image
- Look at the disk usage
# docker ps -s --format 'table {{.Names}}\t{{.Image}}\t{{.Size}}' | grep homeassistant homeassistant ghcr.io/linuxserver/homeassistant 1.48GB (virtual 3.17GB)
Environment
- OS: unRAID v6.12.14
- How docker service was installed: Community Applications pluginCPU architecture
x86-64
Docker creation
Community Applications unRAID pluginContainer logs
N/AMetadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done