Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Error when building dev container: ERROR: failed to solve: process "/bin/sh -c /dev/pipes/EOF" did not complete successfully: exit code: 2 #6461

Open
1 task done
kripper opened this issue Jan 26, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@kripper
Copy link

kripper commented Jan 26, 2025

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Describe the bug and reproduction steps

Reproduce

I tried to build de dev container with:

make docker-dev

Result

695.8 FFMPEG playwright build v1009 downloaded to /root/.cache/ms-playwright/ffmpeg-1009
695.9 mkdir: cannot create directory 'cache': Read-only file system
695.9 touch: cannot touch 'cache/playwright_chromium_is_installed.txt': No such file or directory
695.9 make: *** [Makefile:130: install-python-dependencies] Error 1
------
WARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-tree
Dockerfile:110
--------------------
 109 |     # cache build dependencies
 110 | >>> RUN \
 111 | >>>   --mount=type=bind,source=./,target=/app/ \
 112 | >>>   <<EOF
 113 | >>> #!/bin/bash
 114 | >>> make -s clean
 115 | >>> make -s check-dependencies
 116 | >>> make -s install-python-dependencies
 117 | >>>
 118 | >>> # NOTE
 119 | >>> # node_modules are .dockerignore-d therefore not mountable
 120 | >>> # make -s install-frontend-dependencies
 121 | >>> EOF
 122 |
--------------------
ERROR: failed to solve: process "/bin/sh -c /dev/pipes/EOF" did not complete successfully: exit code: 2

OpenHands Installation

Development workflow

OpenHands Version

main

Operating System

None

Logs, Errors, Screenshots, and Additional Context

No response

@kripper kripper added the bug Something isn't working label Jan 26, 2025
@kripper
Copy link
Author

kripper commented Jan 26, 2025

I believe it fails because my docker version doesn't support HEREDOC syntaxis.

System is:
Red Hat Enterprise Linux release 8.9 (Ootpa)

$ docker -v
Docker version 26.1.3, build b72abbb

@kripper
Copy link
Author

kripper commented Jan 26, 2025

No. To solve HEREDOC support, just define export DOCKER_BUILDKIT=1

kripper pushed a commit to kripper/OpenHands that referenced this issue Jan 26, 2025
kripper added a commit to kripper/OpenHands that referenced this issue Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant