hackbg / hackbg/fadroma

@fadroma/ops/Build, @fadroma/ops/Devnet: on Windows, bash scripts can get mounted into docker containers with wrong newlines and permissions

Open
#81 0 comments 0 reactions 1 assignee Claimed by @egasimus View on GitHub
docker ts windows
Dominant language
TypeScript
Stars
53
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Proposed fix:
* add dos2unix to base container
* copy mounted scripts to temp dir in container
* run temp copies through dos2unix
* run fixed scripts from temp dir

Workaround:
* run `dos2unix` and `chmod +x` on the `.sh` files in `packages/scrt`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.