There is 1 update.
 
 
XWiki Docker images / cid:jira-generated-image-avatar-55f61b04-ab31-4d9a-8b66-26c012913195 XDOCKER-84 Open

sed in DockerFile has unwanted side effect

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-f6bef038-8eee-4a0d-b31d-94b20e3b1a36 Changes by Vincent Massol on 08/Jul/24 16:26
 
Description: {noformat}
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
{noformat}

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:

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