baskerville / plato

Document reader
Other
1.25k stars 103 forks source link

Dockerfile "buildpack-deps" is outdated #290

Open JackJones22 opened 1 year ago

JackJones22 commented 1 year ago

The Dockerfile is trying to run an outdated command for buildpack-deps

The Debian Stretch repos were archived recently and buildpack-deps has and will not be updated to link to the new repo location. Therefore the Docker build command just results in 404 errors.

Updating the commad to use a newer release of Debian does pull everything successfully, but then the compile command errors as "package 'time v0.3.20' cannot be built because it requires rustc 1.63".

Changing the Dockerfile to use rust 1.63 instead of the current 1.60 was easily enough and it does finish compiling.

However, the resulting Plato binary is twice the size of the one included in the release verion (11mb vs 5.4mb) and just crashes up load on my Kobo Forma.