Use jboss cli script for docker image generation

Description

Having yet another copy of standalone.xml is too hard to maintain. We could use jboss cli script for it. CLI recipes. This will also help to identify what customization is needed for Zanata to run.


We need to boot up wildfly during image creation (with RUN instruction) and then run the CLI script. After that we stop the server and clean up. Zanata sync is using it and it seems to be working fine.

Try to use offline/embedded mode

Activity

Show:
Sean Flanigan
October 24, 2016, 6:01 AM
Edited

I think I prefer templating overall for managing all the standalone.xml files (long term), but jboss-cli might be more pragmatic for this case in the short term.

If we are going to use jboss-cli for this sort of thing, we should make sure to use the CLI's offline/embedded mode:

Ready for Release

Assignee

Patrick Huang

Reporter

Patrick Huang

Labels

None

Tested Version/s

None

Story Points

2

Components

Sprint

None

Fix versions

Priority

unspecified