1
0
mirror of https://github.com/balkian/jupyterhub-oauth.git synced 2025-08-29 16:52:21 +00:00

Simplified spawner, added GitLab/OAuth

* Now we avoid using localusers and use a DockerSpawner directy
* There is an option to select other oauthenticator classes
This commit is contained in:
J. Fernando Sánchez
2017-01-25 00:35:44 +01:00
parent f8289e37ee
commit 0bb2ea7963
9 changed files with 61 additions and 99 deletions

24
Makefile Normal file
View File

@@ -0,0 +1,24 @@
VERSION=`cat VERSION`
REPO="balkian/jupyterhub-oauth"
TEST=$(REPO):test-$(VERSION)
FINAL=$(REPO):$(VERSION)
build:
docker build -t $(TEST) .
run:
docker run -v $$PWD/output:/output -p 8000:8000 -v /var/run/docker.sock:/var/run/docker.sock -v $(PWD)/jupyterhub_config.py:/srv/jupyterhub/jupyterhub_config.py --env-file .env $(TEST) jupyterhub --config /srv/jupyterhub/jupyterhub_config.py --no-ssl
push:
.PHONY: build run
push: build
docker tag $(TEST) $(FINAL)
docker tag $(TEST) $(REPO)
docker rmi $(TEST)
docker push $(FINAL)
docker push $(REPO)
.PHONY: build run push