Skip to content

EOL issue with /entrypoint file editing on Windows and use GitHub Desktop to commit to Azure DevOps Git Repo #373

@vienleidl

Description

@vienleidl

THe SFTP container is failed to load with the following errors:

/entrypoint: line 60: /usr/local/bin/create-sftp-user: Permission denied
/entrypoint: Error on line 60: create-sftp-user "$user"

I think it's caused by the /entrypoint file is recognized as CRLF file during Azure DevOps build and push to Azure Container Registry. Eventhough, the /entrypoint file has been already converted with Notepad++ (EOL conversion to Unix) or the following lines have been added into the Dockerfile already:

RUN dos2unix /entrypoint
RUN dos2unix /usr/local/bin/create-sftp-user
RUN chmod +x /entrypoint

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions