# Customization of service (Dockerfile or install script)

**URL:** <https://forums.suse.com/t/customization-of-service-dockerfile-or-install-script/1163>\
**Category:** RancherOS\
**Created:** [December 4, 2015, 4:11am UTC](https://forums.suse.com/t/customization-of-service-dockerfile-or-install-script/1163 "2015-12-04T04:11:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paulmicha](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/paulmicha/32/613_2.png) [@Paulmicha](https://forums.suse.com/u/Paulmicha)\
**Post date:** [December 4, 2015, 4:11am UTC](https://forums.suse.com/t/customization-of-service-dockerfile-or-install-script/1163/1 "2015-12-04T04:11:53Z")

</div>

[Note : restrictions on number of links or images are quite upsetting for anyone actually putting some effort into the question. Dear spammers…]

I’ve recently decided to give RancherOS a go - my question is : how to customize (ex: via custom Dockerfile) a service in RancherOS ?

**Context :**  
• Intrigued by [doublev.io is coming soon](http://doublev.io/your-simple-cloud-with-rancher/) I’m trying RancherOS locally in VirtualBox (Debian 8 Jessie in bridged network, so I have access to the VM at 192.168.0.60 + edited my computer’s host file to test on domains `*lan-0-60.io`).  
• Service (volumes) : [google drive]/file/d/0B78zUNe7SQFeRG5BeG02Z3o0SDg/view?usp=sharing (I’ve unpacked in the RancherOS VM file `drupal-8.0.1.tar.gz` in `/data_localhost/htdocs/drupal-8.lan-0-60.io` and renamed the dir as docroot)  
• LoadBalancer : [google drive]/file/d/0B78zUNe7SQFeaEg3VHNtdElPWXM/view?usp=sharing  
• Reached OK : [google drive]/file/d/0B78zUNe7SQFeWEMzNXdHVVFvbmc/view?usp=sharing  
• Install Fail :

 ![](https://us1.discourse-cdn.com/flex022/uploads/suse/original/1X/42441f31c747a3d2d5b56d2c040201eca5ffb4eb.png)

**Need :**  
• Following [github]/docker-library/docs/tree/master/php I’m trying to install the missing dependencies (using docker-php-ext-install and/or docker-php-ext-configure), but when I’m adding a service in RancherOS UI, I can’t find anywhere how (or if) one can customize (without going through the hassle of installing a private docker image repo) the container, like by using a custom Dockerfile.  
٩(͡๏̯͡๏)۶  
• Alternative : from scratch with custom old school setup script, like [debian-quickup/Debian8\_LAMP.script.sh at master · Paulmicha/debian-quickup · GitHub](https://github.com/Paulmicha/debian-quickup/blob/master/LAMP/Debian8_LAMP.script.sh)

Any pointers or help greatly appreciated.  
( ＾∇＾)
