Closed mnadvornik closed 2 years ago
This is not an issue, as we ship pre-build.
It is part of regular maintenance to update those.
Closing this issue for that reason.
Oh ok sure. I know it isn't an issue for end users but just bothered me while trying to get it to run for development
It's also not something we can "fix", an updated package could be released in 5 mins, tomorrow, or 6 months time. Just need to be aware that you need to fix dependencies as you build.
If you do a PR, I would suggest splitting the dependency updates from the actual change.
Problem/Motivation
I'm currently looking into contributing a feature for this addon and discovered that building the container for the architecture amd64 fails because some package versions can not be found during apt-get install in Docker RUN.
Expected behavior
Docker build / addon install in HASS succeeds
Actual behavior
Docker build fails with the following error:
Steps to reproduce
docker build --build-arg BUILD_FROM="ghcr.io/hassio-addons/debian-base/amd64:5.3.1" -t local/addon-grafana .
I have also tried different base image versions but all versions I tried had the same problem. From my understanding this is due to the package versions coming from the Debian repos and thus are independent from the "debian-base" image used.
Proposed changes
Updating the docker file to the current package versions:
I will send a pull request shortly