ocurrent / ocurrent/ocaml-dockerfile
Presence of spaces in a command is not escaped and results in an incorrect Dockerfile
Open
Nobody has claimed this yet.
- Dominant language
- OCaml
- Stars
- 68
- Forks
- 22
- Avg merge
- 5h 56m
- Merged PRs (30d)
- 3
Description
Example:
from "alpine" @@
run "ls\n/"
results in the incorrect Dockerfile:
FROM alpine
RUN ls
/
instead, each \n characters should be escaped using \ as per https://docs.docker.com/engine/reference/builder/#format
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the command renderer that turns the issue's run example into Dockerfile output; no source file or test is named in the report. Compare its handling with Docker's builder-format escaping, and verify that embedded newlines are escaped so the generated command remains one RUN instruction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, ocaml
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100