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