mirror of
https://github.com/Luzifer/nginx-sso-auth-supercookie.git
synced 2024-12-22 20:21:19 +00:00
10 lines
306 B
Makefile
10 lines
306 B
Makefile
|
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'
|