Skip to content

Commit

Permalink
New: debug-binder target now uses local repo
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-zeller committed May 16, 2024
1 parent fa0d8e6 commit dd93fb9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion notebooks/shared/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1249,13 +1249,15 @@ push: .FORCE shared
# Debugging binder
# This is the same system as mybinder uses, but should be easier to debug
# See https://repo2docker.readthedocs.io/en/latest/
# and https://discourse.jupyter.org/t/tip-debug-binder-builds-faster-with-repo2docker/
.PRECIOUS: binder/binder.log
.PHONY: binder-local debug-binder
binder-local debug-binder: binder/binder.log binder/postBuild
binder/binder.log: .FORCE
@echo Writing output to $@
@docker version > /dev/null
jupyter-repo2docker --debug $(GITHUB_REPO) 2>&1 | tee $@
@# jupyter-repo2docker --debug $(GITHUB_REPO) 2>&1 | tee $@
repo2docker -v '.:.' --Repo2Docker.platform=linux/amd64 . 2>&1 | tee $@


## Docker services (experimental)
Expand Down

0 comments on commit dd93fb9

Please sign in to comment.