A cloud-native LDAP server backed by a Consul datastore
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
426 B

  1. BIN=bottin
  2. SRC=main.go ssha.go util.go acl.go read.go write.go memberof.go
  3. DOCKER=lxpz/bottin_amd64
  4. all: $(BIN)
  5. $(BIN): $(SRC)
  6. go get -d -v
  7. go build -v -o $(BIN)
  8. $(BIN).static: $(SRC)
  9. go get -d -v
  10. CGO_ENABLED=0 GOOS=linux go build -a -v -o $(BIN).static
  11. docker: $(BIN).static
  12. docker build -t $(DOCKER):$(TAG) .
  13. docker push $(DOCKER):$(TAG)
  14. docker tag $(DOCKER):$(TAG) $(DOCKER):latest
  15. docker push $(DOCKER):latest