How to remove Mysql?

mysql
circle.yml

#1

We do not need Mysql in our build environment, so therefore would like to remove it. Or have a build container that doesn’t have it installed already. How is this possible?

I’ve searched everywhere in the docs and cannot find out if this is possible.

Mysql takes a good 500mb or so of memory in our build container, as it’s not needed what’s the point in having it?

Thanks,
Rob


#2

Can you just do

dependencies:
  pre:
    - sudo apt-get --purge autoremove -y mysql-server-5.6

? Not sure what version of mysql is on there, so the command might need to be tweaked…


#3