From 1926784e5563e374564f77782d5113d03e426c89 Mon Sep 17 00:00:00 2001 From: an Date: Sun, 13 Jan 2019 21:17:21 +0100 Subject: [PATCH] Changed README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index ea8497c..0a63c7c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,19 @@ # 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 ./... +```