weserv / images

Source code of wsrv.nl (formerly images.weserv.nl), to be used on your own server(s).
https://wsrv.nl/
BSD 3-Clause "New" or "Revised" License
2.05k stars 200 forks source link

How to compile so that I can have the bin/weserve-cli #438

Closed Tahakun closed 4 weeks ago

Tahakun commented 1 month ago

Hello, I used to use an older version, and when I tried updating to the latest version, when I ssh into the container there's not bin folder inside /var/www/imagesweserv (I'm using the Dockerfile inside the repo)

It used to be in this directory /var/www/imagesweserv/bin/imagesweserv-cli Was the imagesweserv-cli removed in the last version ? or do I need to pass some arguments to make so it creates the binary

kleisauke commented 1 month ago

The CLI tool is only available if you build with -DBUILD_TOOLS=ON. https://github.com/weserv/images/blob/947dbc4ef817509620f678d9186cb6c097957687/docker/Dockerfile#L33 https://github.com/weserv/images/blob/947dbc4ef817509620f678d9186cb6c097957687/CMakeLists.txt#L21

It used to be in this directory /var/www/imagesweserv/bin/imagesweserv-cli

Note that it was renamed to weserv-cli after commit bc4809a5d16a89563912c45e5c9069e55a2fcced.

Tahakun commented 4 weeks ago

Thanks