cf-resource icon indicating copy to clipboard operation
cf-resource copied to clipboard

Push docker image directly to cloud foundry

Open avirkar opened this issue 7 years ago • 5 comments

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?

avirkar avatar Apr 19 '17 21:04 avirkar

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.

concourse-bot avatar Apr 19 '17 21:04 concourse-bot

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 avatar Aug 29 '17 18:08 laugimethods

@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! 👍

jtarchie avatar Sep 21 '17 22:09 jtarchie

We've updated the README with build instructions! We'd accept a PR with tests.

jtarchie avatar Sep 25 '17 17:09 jtarchie

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.

brentdemark avatar Sep 29 '17 01:09 brentdemark