Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • aports aports
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 739
    • Issues 739
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 336
    • Merge requests 336
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • aportsaports
  • Issues
  • #9135
Closed
Open
Issue created Jul 25, 2018 by algitbot@rootOwner

docker build fails.

Here is the contents of my Dockerfile
cat Dockerfile
FROM alpine:3.8
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)

  • Relations:
    • duplicates #9137 (closed)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking