Comments (6)
libssl and netcat cause the problems in bookworm, local testing looks promising
from teslamate.
The key issue here is that we use multi stage docker builds (as is recommended practice here). The build one has:
FROM elixir:1.16 AS builder
The final one has:
FROM debian:bookworm-slim AS app
...
RUN apt-get update && apt-get install ...
When you update the build image you also need to update the Debian image and Debian packages to keep them in sync. And determining what versions to use isn't always easy. There could be circumstances where this isn't always the latest Debian version - particularly if you want to build an old version of Teslamate that is based on an older version of elixir.
Yes, building the Docker image from nix would be another solution. Don't think we are quite ready for that though :-)
And I still haven't been able to work out how to use nix in CI yet without slowing the CI down excessively (current pain point where I did this for another project).
from teslamate.
Has been an issue in the past, see
Line 384 in 8e7d514
from teslamate.
Nice find, would it make sense to use debian:latest to avoid similar things in the future? Or could that just cause other issues that we never now when it will change?
And we might have new problems with the build due to the new bookworm image:
https://github.com/teslamate-org/teslamate/actions/runs/8054386860
from teslamate.
Nice find, would it make sense to use debian:latest to avoid similar things in the future? Or could that just cause other issues that we never now when it will change?
And we might have new problems with the build due to the new bookworm image:
https://github.com/teslamate-org/teslamate/actions/runs/8054386860
No, good practice is to pin all versions. Best would be to build the docker file with nix, as it would be really reproducible and declarative.
Damn, need more testing
from teslamate.
Closed by 776e7a2 (Typo in referenced issue)
from teslamate.
Related Issues (20)
- Programatic way to cancel sleep attempt HOT 10
- collation version mismatch HOT 4
- Grafana drive details map jumping back and forth HOT 10
- "Too many disconnects from streaming API" error HOT 3
- Dynamically varying the polling frequency HOT 2
- Cannot fetch MQTT for a hosted instance of Teslamate HOT 2
- Different values for Logged Distance HOT 4
- Should pin image full version as in elixir:1.16.1-otp-26 HOT 7
- switch netcat-traditional to netcat-openbsd for IP v6 support HOT 1
- Battery health issue HOT 7
- random test failures HOT 19
- MQTT values for active_route_* are not clearing HOT 10
- Idea: add lease mileage limit with start/end dates HOT 1
- Upgrading via docker-compose from v1.28.3 to v1.28.4 results in unusable system with "404 page not found" error HOT 14
- Vehicle showing offline instead of asleep since 2024.8.x software update HOT 2
- doc: version tag in docker-compose.yml is obsolete since docker 25.05
- lost current charge record HOT 2
- Unexpected Relationship between Range (rated) and Range (est.) in Internal Drives Dashboard, Drive panel HOT 11
- 1.28.4 fails to start, 1.28.3 works fine HOT 2
- v1.28.4 fails to start with Permission denied error HOT 23
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teslamate.