image-transformer/README.md

22 lines
573 B
Markdown
Raw Normal View History

2019-08-01 16:13:43 +00:00
[![Build Status](https://dev.dnix.de/api/badges/an/image-transformer/status.svg)](https://dev.dnix.de/an/image-transformer)
2019-08-01 16:12:32 +00:00
2019-01-13 20:11:28 +00:00
# image-transformer
2019-01-08 21:37:42 +00:00
Derived from https://karthikkaranth.me/blog/image-resizing-server-go-libvips/
2019-01-13 20:17:21 +00:00
## 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 ./...
```