1
0
Fork 0
mirror of https://github.com/Luzifer/nginx-sso-auth-supercookie.git synced 2024-12-22 12:11:18 +00:00
nginx-sso-auth-supercookie/Makefile

10 lines
306 B
Makefile
Raw Normal View History

2019-02-23 18:26:11 +00:00
default: build
build:
docker run --rm -i \
-e CGO_ENABLED=1 \
-v "$(CURDIR):/go/src/github.com/Luzifer/auth-supercookie" \
-w /go/src/github.com/Luzifer/auth-supercookie \
golang:alpine \
sh -c 'apk add --update build-base git && go get -d && go build -buildmode=plugin -o auth-supercookie.so'