Uploaded image for project: 'XWiki Docker images'
  1. XWiki Docker images
  2. XDOCKER-84

sed in DockerFile has unwanted side effect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Unknown

    Description

      sed -i 's/<id>org.xwiki.platform:xwiki-platform-distribution-war/<id>org.xwiki.platform:xwiki-platform-distribution-docker/' \
       /usr/local/tomcat/webapps/ROOT/META-INF/extension.xed
      

      effects 2 lines in the target file, which may not have been intended... the second is:

      xwiki-platform-distribution-war-legacydependencies gets changed to xwiki-platform-distribution-docker-legacydependencies

      The fix is:

      sed -i 's/<id>org.xwiki.platform:xwiki-platform-distribution-war</<id>org.xwiki.platform:xwiki-platform-distribution-docker</' \
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            keithy Keith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: