-
Notifications
You must be signed in to change notification settings - Fork 401
Open
Description
I am using binderhub and I ran into an issue with repo2docker.
When using the following configuration:
config:
BinderHub:
KubernetesBuildExecutor:
build_image: quay.io/jupyterhub/repo2docker:2024.07.0-112.g13cbc9e
when launching any repository (e.g. this one) I see the following error message in the build pod:
{"message": "Picked Git content provider.\n"}
{"message": "Cloning into '/tmp/repo2dockerha80cbgn'...\n", "phase": "fetching"}
{"message": "HEAD is now at e57d3d7 Add entrypoint.sh\n", "phase": "fetching"}
{"message": "Using DockerBuildPack builder\n", "phase": "building"}
{"message": "ERROR: mkdir /root/.docker/buildx: read-only file system\n", "phase": "building"}
{"message": "Error during build: Command '['docker', 'buildx', 'build', '--progress', 'plain', '--push', '--build-arg', 'NB_USER=jovyan', '--build-arg', 'NB_UID=1000', '--file', 'Dockerfile', '--tag', 'us-central1-docker.pkg.dev/myprojectid/binderhub/binderpaololazzari-2dbinder-2dredis-2dpython-1412af:e57d3d790ec7495b39fe6c1167809dd67767f69c', '--label', 'repo2docker.version=2024.07.0+159.gd0ddd2e', '--label', 'repo2docker.repo=https://github.com/paololazzari/binder-redis-python', '--label', 'repo2docker.ref=e57d3d790ec7495b39fe6c1167809dd67767f69c', '--platform', 'linux/amd64', '/tmp/repo2dockerha80cbgn']' returned non-zero exit status 1.", "exc_info": "Traceback (most recent call last):\n File \"/opt/venv/bin/jupyter-repo2docker\", line 8, in <module>\n sys.exit(main())\n ^^^^^^\n File \"/opt/venv/lib/python3.12/site-packages/repo2docker/__main__.py\", line 476, in main\n r2d.start()\n File \"/opt/venv/lib/python3.12/site-packages/repo2docker/app.py\", line 843, in start\n self.build()\n File \"/opt/venv/lib/python3.12/site-packages/repo2docker/app.py\", line 806, in build\n for l in picked_buildpack.build(\n ^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv/lib/python3.12/site-packages/repo2docker/buildpacks/docker.py\", line 63, in build\n yield from client.build(**build_kwargs)\n File \"/opt/venv/lib/python3.12/site-packages/repo2docker/docker.py\", line 160, in build\n yield from execute_cmd(args, True)\n File \"/opt/venv/lib/python3.12/site-packages/repo2docker/utils.py\", line 76, in execute_cmd\n raise subprocess.CalledProcessError(ret, cmd)\nsubprocess.CalledProcessError: Command '['docker', 'buildx', 'build', '--progress', 'plain', '--push', '--build-arg', 'NB_USER=jovyan', '--build-arg', 'NB_UID=1000', '--file', 'Dockerfile', '--tag', 'us-central1-docker.pkg.dev/myprojectid/binderhub/binderpaololazzari-2dbinder-2dredis-2dpython-1412af:e57d3d790ec7495b39fe6c1167809dd67767f69c', '--label', 'repo2docker.version=2024.07.0+159.gd0ddd2e', '--label', 'repo2docker.repo=https://github.com/paololazzari/binder-redis-python', '--label', 'repo2docker.ref=e57d3d790ec7495b39fe6c1167809dd67767f69c', '--platform', 'linux/amd64', '/tmp/repo2dockerha80cbgn']' returned non-zero exit status 1.", "phase": "failed"}
I don't see this error in the previous version, 2024.07.0-89.g6d50085, but I do see it in all versions starting from 2024.07.0-112.g13cbc9e. I believe this issue was introduced by this commit jupyterhub/repo2docker@13cbc9e
Metadata
Metadata
Assignees
Labels
No labels