Open iliasch7 opened 1 year ago
This issue is synced in Linear at https://linear.app/semgrep/issue/PA-2876/error-while-trying-to-build-the-semgrep-image. Note: this link is for r2c use only and is not accessible publicly.
Hi,
This looks like a CR character got there by accident:
#0 8.314 env: ‘bash\r’: No such file or directory
My wild guess is that some shell script got converted to Windows line endings (CR-LF) and then executed in a Unix environment (as Docker uses). See the first line of ./scripts/install-tree-sitter-lib.
For more help, please fill out the standard bug report template:
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior, ideally a link to https://semgrep.dev:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
What is the priority of the bug to you?
Environment If not using semgrep.dev: are you running off docker, an official binary, a local build?
Use case What will fixing this bug enable for you?
I'm struggling with this error. Can anyone help me?
=> [semgrep-core-container 3/6] COPY . . 22.3s => CANCELED [semgrep-cli 6/11] RUN apk add --no-cache --virtual=.build-deps build-base make g++ && pip ins 30.8s => ERROR [semgrep-core-container 4/6] RUN make install-deps-ALPINE-for-semgrep-core && make install-deps-for- 8.4s