Closed mrdavidlaing closed 10 years ago
@mrdavidlaing 60MB is still an achievement, I think mine are around 100MB. I looked at your build-script, what made a dent in the size?
The biggest "space savers" were:
--disable-boehm
- this only includes the newer sgen GC (default since 3.2 I think)--with-mcs-docs=no
excludes the compiler docs, which are surprisingly large.Now running with slimmed down Mono, closing.
@friism - did you manage to get 3.2.6 compiling?
Aha! - http://friism.com/building-heroku-buildpack-binaries-with-docker
Sweet. I shall be using https://github.com/friism/mono-builder and https://github.com/friism/xsp-builder going forward!
@mrdavidlaing I found 3.2.6 un-buildable, but 3.2.8 is fine.
You prolly need to tweak the bucket name and maybe the /app
stuff, but other than that, you'd be fine.
@friism - would you be interested in collaborating on building a "slimmed down PAAS version" of mono with me?
I'm focussing on running Mono apps on Cloud Foundry, and currently build mono using https://github.com/cloudfoundry-community/builder-mono
Currently, I can't get it much below 60MB, which still feels too big.
One of the tricks I'm thinking of trying is to not compile the < .net 4 stuff, and only include the .net 4.5+ stuff.
@mrdavidlaing (author of https://github.com/cloudfoundry-community/.net-buildpack)