Latest Cloud Foundry releases, and Pivotal Web Services itself, how supports a new container filesystem based on Ubuntu Trusty called cflinuxfs2
. Thanks to Simon Johansson [@KarlSimonJohan] the incubator staticfile-buildpack now works on this new stack too!
Release notes for other improvements as well: https://github.com/cloudfoundry-incubator/staticfile-buildpack/releases/tag/v0.5.0
As a developer you can now use this buildpack immediately with the new cflinuxfs2
stack:
cf push <myapp> -s cflinuxfs2 -b https://github.com/cloudfoundry-incubator/staticfile-buildpack
As an administrator of Cloud Foundry you can install the Staticfile buildpack for the first time:
$ wget https://github.com/cloudfoundry-community/staticfile-buildpack/releases/download/v0.5.0/staticfile-buildpack-v0.5.0.zip
$ cf create-buildpack staticfiles_buildpack -p staticfile-buildpack-v0.5.0.zip 1
As an administrator of Cloud Foundry you can upgrade your Staticfile buildpack to v0.5:
$ wget https://github.com/cloudfoundry-community/staticfile-buildpack/releases/download/v0.5.0/staticfile-buildpack-v0.5.0.zip
$ cf update-buildpack staticfiles_buildpack -p staticfile-buildpack-v0.5.0.zip -i 1 --enable
As a user, the buildpack will be automatically selected for both stacks (lucid64
and cflinuxfs2
) if you have a Staticfile
in your project root folder.
See the readme for more configuration options.