Skip to content

hdx-oss-dev-miner - /docker-entrypoint.sh: not found w/ solution #73

Open
@NCHitsman

Description

@NCHitsman

While downloading the project, I encountered an issue when executing the command "docker compose -f ./docker-compose.dev.yml up -d". hdx-oss-dev-miner threw the error: "/docker-entrypoint.sh: not found". This problem arose because the docker-entrypoint.sh file had the wrong line ending format, specifically, it was in CRLF format.

I managed to resolve this issue by converting the line ending format of the docker-entrypoint.sh file to LF.

Currently in the repository, the file is in the LF format. However, Git has a feature that automatically switches LF files to CRLF. The problem is also fixed when cloning the repository with the Git configuration setting core.autocrlf set to false. https://git-scm.com/docs/git-config#Documentation/git-config.txt-coreautocrlf

For context, I'm running Docker version 4.24.1 on Windows with WSL2. Note that this issue only occurs when using the dev YAML, not when using "docker compose up -d".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions