We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c5898b + 2f83759 commit de0c1d4Copy full SHA for de0c1d4
src/main/java/com/github/dockerjava/core/command/BuildImageCmdImpl.java
@@ -327,7 +327,7 @@ public BuildImageCmdImpl withDockerfile(File dockerfile) {
327
throw new IllegalArgumentException("Dockerfile does not exist");
328
}
329
if (!dockerfile.isFile()) {
330
- throw new IllegalArgumentException("Not a directory");
+ throw new IllegalArgumentException("Dockerfile is not a file");
331
332
333
if (baseDirectory == null) {
0 commit comments