I'm having trouble with backslashes within ENV in a Dockerfile within a pipeline. If I use the same ENV settings in my local Debian environment they are passed through without issue. Image used is debian:buster-slim
For example this gets corrupted in the pipeline:
ENV SMTP_PASSWORD='aaaaaaaA\"n111111'
It appears in the container as aaaaaaaA"n
This one just refuses to show up at all in the container but no error is given:
ENV SMTP_PASSWORD='aaaaaaaA\\"n111111'
If I build a docker container locally both of the above examples passthrough as is. Does anyone know how to fix this?