Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MNT: Check if running inside repo2docker more explicitly
.dockerenv is only supported in the old docker based builder, which has been deprecated for a few years now. It isn't supported by buildkit / docker buildx, which repo2docker *just* moved to (jupyterhub/repo2docker#1402). Using buikdkit gives us faster and more reliable builds. This converts the test for checking if the script is being run by repo2docker to check for an env var that repo2docker sets instead.
- Loading branch information