Strider-CD / strider-docker-build

Build (and push) Docker images in Strider
16 stars 7 forks source link

Why work out of archive path? #10

Closed logankoester closed 9 years ago

logankoester commented 9 years ago

I believe I have a common use case...

  1. Prepare Compile my project code to a .gitignored' output/ directory
  2. Test Build Docker image (Dockerfile copies output/ into the image) and run tests
  3. Deploy Push the Docker image on success

However, this plugin operates in a separate archive path, so everything that was compiled in the Prepare phase is inaccessible to Docker when it tries to build the image.

What is the rationale for doing it this way?

knownasilya commented 9 years ago

None specifically I think. There just wasn't a use case presented. :+1:

How do you see this working? Specifying a path for the archive with a default to what it is now?

logankoester commented 9 years ago

@knownasilya I've got it working the way I like in #11. Feedback welcome, but let's move the discussion to that thread.