Go to file
an 0150d47429 Added .drone.yml 2019-01-27 15:12:06 +01:00
.drone.yml Added .drone.yml 2019-01-27 15:12:06 +01:00
Dockerfile resize 2019-01-13 21:09:53 +01:00
LICENSE LICENSE 2019-01-09 09:20:50 +01:00
README.md Changed README.md 2019-01-13 21:17:21 +01:00
main.go Added .drone.yml 2019-01-27 15:12:06 +01:00

README.md

image-transformer

Derived from https://karthikkaranth.me/blog/image-resizing-server-go-libvips/

Build docker image

docker build -t dr.dnix.de/image-transformer .

Build binary

wget https://github.com/libvips/libvips/releases/download/v8.7.3/vips-8.7.3.tar.gz
tar xvzf vips-8.7.3.tar.gz
cd vips-8.7.3
./configure && make && make install
ldconfig
cd ..
go get -v -u github.com/davidbyttow/govips/pkg/vips && go install -v ./...