Comments (4)
I cannot account for the difference in lychee executable size between this new image & the original (~292MB vs. 84MB)
Yes, I can. The executable isn't stripped in Dockerfile as it is in the GitHub Releases here. I have realised that the Dockerfile
isn't used for the public image release.
from lychee.
The current lychee docker image (available via docker pull lycheeverse/lychee
) weighs 107MB & uses rust:latest
& debian:bullseye-slim
. That rust:latest
aliases to rust:bookworm
(docker) which is Debian 12 (releases). However, debian:bullseye-slim
is Debian 11 - I believe that's why there's different libssl.so.x.x
files present.
I think the best solution is to, instead, ensure the two base images use the same Debian version. I tested the Dockerfile
with both the same base images, separately, as rust:slim-bullseye
& rust:slim-buster
(despite being Debian 10) as you suggested. In short, rust images are b i g (~1GB).
I'd suggest using rust:bookworm
& debian:bookworm-slim
, which produces a 375MB image & appears to work as expected. I cannot account for the difference in lychee executable size between this new image & the original (~292MB vs. 84MB)
from lychee.
As far as I can see, this can be closed because of the excellent work by @MattTimms.
Thanks for looking into this and fixing it so cleanly and thoroughly. Props!
(The libssl issues should be resolved now; please reopen in case that's incorrect.)
from lychee.
Thanks.
From the options you presented, we'd ideally use the same image. Maybe we could change it to rust:slim-buster, which would ensure that the image stays small?
from lychee.
Related Issues (20)
- custom Header not sent HOT 7
- Consider renaming `--format` to `--report` HOT 5
- Comments to ignore links HOT 1
- Consider renaming `fail_map` to `error_map` HOT 3
- Screencast SVG incurs a rendering burden on the browser HOT 1
- Optionally: Collect all URLs and deduplicate them? HOT 3
- Optionally: retrieve titles of pages and URL fragment targets? HOT 3
- Parameter --base does not work on windows HOT 13
- Archive integration with `lychee_lib` HOT 1
- bug: anchor/fragment detection doesn't appear to work HOT 1
- Windows Filepaths With a Drive Specifier Incorrectly Identified as Urls
- Mastodon link is interpreted as email address HOT 1
- ci: inconsistent naming of gh release assets
- Support URL Encoded Anchors
- Convert `StatusCode` to `Status` HOT 3
- Emails resulting in "Failed: Cannot find file" HOT 4
- [macos] release asset lychee-v0.15.1-macos-x86_64.dmg contains only ARM64 executable HOT 6
- Confusing exit 2, although no error visible
- Bug: lychee can not detect error relative url HOT 2
- Bug: unable to check url inside <style> tag and css file
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 lychee.