cloudfoundry - Use package manager in a Cloud Foundry instance -
can use apt-get
or other package managers in cloud foundry buildpacks or .profile
scripts come apps; , if can, how it? expect same way in dockerfile, doesn't work or without sudo
in case.
can use apt-get or other package managers in cloud foundry buildpacks or .profile scripts come apps; , if can, how it?
no. running apt-get
or package manager typically require root access , not root access when build pack runs or when application runs (this difference w/docker).
that said, can doesn't require root access, if found package manager installed in vcap user's home directory , didn't need root use that.
it depends on you're trying install, in cases can work around downloading .deb or .rpm file , manually extracting binaries. typically works ok things shared libraries. download precompiled binary matches stack (cflinuxfs2
== ubuntu trusty). other things, can build own binaries source. build pack's do, see binary-builder.
hope helps!
Comments
Post a Comment