docker build fails.
Here is the contents of my Dockerfile
COPY server.xml /tmp
RUN sed -i ‘1,/redirectPort=“8443”/ s//redirectPort=“8443” relaxedQueryChars=“”/’ /tmp/server.xml
If the alpine version is changed to anything lower than 3.8, noticing
failure in “docker build”.
Error message noticed :- “sed: no previous regexp”
If the alpine version is 3.8, noticing no failure in “docker build”.
Pls let know whether it is a bug or any thing else needs to be done to execute the sed command with success. The version being used currently is 3.4
(from redmine: issue id 9135, created on 2018-07-25, closed on 2018-07-25)
- duplicates #9137 (closed)