1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-12-23 22:11:10 +02:00
Files

.devcontainer setup for local development of imgproxy

All imgproxy dependencies are included in the imgproxy-base container image. Using this image for development is recommended.

If you want to develop locally without using Docker, please install: vips, clang-format,lychee and lefthook.

On MacOS:

brew install vips clang-format lychee lefthook

Then, run:

lefthook install

Start the devcontainer

You can use air for hot-reloading during development. Simply run: air.

Port 8081 is forwared to the host.

Test images

test images repo will be automatically cloned or pulled to .devcontainer/images folder before the container starts.

Use make devcontainer to attach to the running devcontainer instance.

Try it. -->