I did try to reduce the size of Ansible and it is not worth it.  I could 
only reduce around 4 MBs off the total size of the container.

On Monday, November 7, 2016 at 5:18:34 PM UTC-8, Steven Truong wrote:
>
> Hi all,
>
> Am I being too picky here or just being naive in the ways I approach my 
> works with Docker?  There are times when I build a Docker image and then 
> when I run the container with some environment variables then my 
> start/entry point scripts still have to replace some config files some 
> where with the environment variables' values.  The most common practice for 
> this type of situation is to use sed or some sort of shell capabilities to 
> take care these.  Honestly I hate going this way.
>
> I wish I could just use Ansible for this type of situation but adding 
> Ansible and dependencies to the container image increases the size and it 
> is not ideal to have full Ansible functionalities in the container.  So is 
> it possible to create a core Ansible package aiming for the container 
> situation that includes some of the base modules or at least just the base 
> modules?  Or do we have ways to assemble Ansible  based on what the users 
> might need to reduce size in the container?
>  
> Or just forget about it and add Ansible and its dependencies and call it a 
> day....
>
> Please point me to some documents or information if what I just asked have 
> been written about.
>
> Thank you so much.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/cdd30817-168b-4356-a29b-d2ca03fff80b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to