Changed README.md
This commit is contained in:
parent
6acce6e357
commit
1926784e55
16
README.md
16
README.md
|
@ -1,3 +1,19 @@
|
||||||
# image-transformer
|
# image-transformer
|
||||||
|
|
||||||
Derived from https://karthikkaranth.me/blog/image-resizing-server-go-libvips/
|
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 ./...
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue