cf-resource
cf-resource copied to clipboard
Push docker image directly to cloud foundry
I am trying to use the cf resource to push a docker image to CF but that seem to be not supported by this resource. Do you think you will have a update on it?
Hi there!
We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.
The current status is as follows:
- [ ] #143987847 Push docker image directly to cloud foundry
This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.
Apparently, this upgrade doesn't need a lot of new code: https://github.com/Logimethods/cf-resource/commit/319eb580bfccb062a40fb3afa03f35ae23b11d05
However I don't know how to test that code, nor how to build the associated Docker Image (Build failed: ADD failed: stat /var/lib/docker/tmp/docker-builder473524230/cf: no such file or directory
).
Any help would be welcome.
@laugimethods we are working on making it easier for people to test and build with these docker images. I assure, it is happening, we've done it with a number of resources so far.
I will update this issue once we do! 👍
We've updated the README with build instructions! We'd accept a PR with tests.
I believe if the docker image were just rebuilt pulling in the latest binary, that would fix this issue. Allowing you specify a "docker.image:" in the manifest. This was apparently added in 6.31 of the client.