Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

buildbot shell errors with "/bin/bash^M: bad interpreter: No such file or directory" #776

@FunctionDJ

Description

@FunctionDJ

Describe the bug

I've followed the instructions from the README using WSL 2 to install Docker in Ubuntu.
I cloned this repository (build-image) from within WSL, not through Windows.
The target project directory however is a mount in Ubuntu that points to the Windows filesystem.
I already had to use dos2unix to be able to run the ./test-tools/start-image.sh which otherwise showed me the same error. Unfortunately i can't use this command or install this tool in the buildbot shell.

This is the output:

buildbot@5c4d253a1237:/$ /opt/build-bin/build npm run build
bash: /opt/build-bin/build: /bin/bash^M: bad interpreter: No such file or directory

It's totally possible, if not likely, that it's an issue on my side and not the project, but i've read the README thoroughly and can't figure it out. Any help is highly appreciated.

To Reproduce

Steps to reproduce the behavior:

  • Follow instructions on README using Ubuntu in WSL

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugcode to address defects in shipped code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions