-
Notifications
You must be signed in to change notification settings - Fork 483
Added support for supplying a custom Dockerfile location on build #89
Conversation
|
I have no idea why the travis CI build failed... It looks unrelated to this branch. It looks like it became stuck while pulling docker images. Not sure where that could come from. |
|
Does anyone know how I can relaunch a Travis CI build? The last one looks like it failed in some infrastructure code, not in the changes in the pull request. I don't like seeing red when it should be green. And I would really need this to be merged. |
|
I re-triggered a build run. I believe only repo owners can do that in TravisCI, which can be a headache. |
|
Looks like it's passing. Any chance to have it merged? |
|
We are waiting for this feature too. |
|
+1 for this feature. Thx |
|
+1 |
|
Any idea on when this is going to be merged? |
|
+1 |
|
+1 |
3 similar comments
|
+1 |
|
+1 |
|
+1 |
|
+1, this will be very helpful! |
|
+1, any idea on when this can be merged, I found it very helpful. |
|
+1 |
3 similar comments
|
+1 |
|
+1 |
|
+1 |
|
+1 any news on this? seems to have gone quiet... |
|
Merge it please! or if anyone knows a workaround, please share. Thanks. @mattnworb @npiguet |
|
+1 |
1 similar comment
|
+1 |
|
can resolve by add this plugin operate <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven.resources.version}</version>
<executions>
<execution>
<id>copy-docker-resources</id>
<phase>generate-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>target</outputDirectory>
<resources>
<!-- copy docker resources -->
<resource>
<directory>${project.basedir}/src/main/Docker</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin> |
|
+1 |
|
Please merge ASAP! |
|
@npiguet I see that this PR has conflict now and can't be merged (even if authors would like to do so). Are you still interesting in this PR? Could you update it? Thanks! |
|
+1 |
|
+1. I'm staying with legacy plugin waiting for this PR :( |
|
+1 |
2 similar comments
|
+1 |
|
+1 |
|
sorry for the very long delay everyone. I'll try to resolve this now - had to resolve some conflicts. |
|
not sure why Travis is not reporting status, but verified this passes all tests locally |
|
|
|
Thanks! :) |
I have a use case that requires me to have the Dockerfile in a subfolder of my maven project, but I still want to be able to ADD files and resources that are located in my projects /target folder to my image.
Therefore, I need the build mojo to support the
-f PATHargument ofdocker build.This changeset adds this support (with matching integration tests)