When I click Edit the editor will modify the inline dockerfile (| is replaced by > and a line is inserted between each lines)
I did check (cat /opt/stacks/xxx/compose.yaml) it really happens at the opening for edit.
I do not see any error in the Console of the browser Web developer tools
π Reproduction steps
Create a Compose with the dockerfile_inline element
Save the file
Edit the Compose (bug)
π Expected behavior
I would expect my inline dockerfile not to be modified by the editor
build:
context: .
dockerfile_inline: |
FROM baseimage
RUN some command
ENTRPOINT hello
π Actual Behavior
instead the | is replaced by > and a line is inserted between each lines of the inline dockerfile
build:
context: .
dockerfile_inline: >
FROM baseimage
RUN some command
ENTRYPOINT hello
I do not see any error in the Console of the browser Web developer tools
β οΈ Please verify that this bug has NOT been reported before.
π‘οΈ Security Policy
Description
I encounter a strange web editor behavior when I edit a docker compose file with the
dockerfile_inline
element https://docs.docker.com/reference/compose-file/build/#dockerfile_inlineWhen I click
Edit
the editor will modify the inline dockerfile (|
is replaced by>
and a line is inserted between each lines) I did check (cat/opt/stacks/xxx/compose.yaml
) it really happens at the opening for edit.I do not see any error in the Console of the browser Web developer tools
π Reproduction steps
dockerfile_inline
elementπ Expected behavior
I would expect my inline dockerfile not to be modified by the editor
π Actual Behavior
instead the
|
is replaced by>
and a line is inserted between each lines of the inline dockerfileI do not see any error in the Console of the browser Web developer tools
Dockge Version
1.4.2
π» Operating System and Arch
Alpine / amd64
π Browser
Chromium: 129 and Firefox 131
π Docker Version
Docker 26.1.5
π© NodeJS Version
No response
π Relevant log output
No response