mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-01-23 11:14:48 +02:00
Add GO111MODULE=on to the build docs
This commit is contained in:
parent
36ad0d31e2
commit
8ed83e973e
@ -89,13 +89,16 @@ sudo apt-get install golang-go
|
|||||||
And finally, install imgproxy itself:
|
And finally, install imgproxy itself:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
CGO_LDFLAGS_ALLOW="-s|-w" go get -f -u github.com/imgproxy/imgproxy
|
GO111MODULE=on \
|
||||||
|
CGO_LDFLAGS_ALLOW="-s|-w" \
|
||||||
|
go get -f -u github.com/imgproxy/imgproxy
|
||||||
```
|
```
|
||||||
|
|
||||||
### macOS + Homebrew
|
### macOS + Homebrew
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
brew install vips go
|
brew install vips go
|
||||||
|
GO111MODULE=on \
|
||||||
PKG_CONFIG_PATH="$(brew --prefix libffi)/lib/pkgconfig" \
|
PKG_CONFIG_PATH="$(brew --prefix libffi)/lib/pkgconfig" \
|
||||||
CGO_LDFLAGS_ALLOW="-s|-w" \
|
CGO_LDFLAGS_ALLOW="-s|-w" \
|
||||||
CGO_CFLAGS_ALLOW="-Xpreprocessor" \
|
CGO_CFLAGS_ALLOW="-Xpreprocessor" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user