Skip to content

Commit e06bced

Browse files
author
luismclglass
committed
Bix Broken Test. On The build method, the "ADD" files step has a white
space in "ADD ".
1 parent e36ab13 commit e06bced

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/main/java/com/kpelykh/docker/client/DockerClient.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ public ClientResponse build(File dockerFolder, String tag) throws DockerExceptio
643643
FileUtils.copyFileToDirectory(dockerFile, tmpDockerContextFolder);
644644

645645
for (String cmd : dockerFileContent) {
646-
if (StringUtils.startsWithIgnoreCase(cmd.trim(), "ADD ")) {
646+
if (StringUtils.startsWithIgnoreCase(cmd.trim(), "ADD")) {
647647
String addArgs[] = StringUtils.split(cmd, " \t");
648648
if (addArgs.length != 3) {
649649
throw new DockerException(String.format("Wrong format on line [%s]", cmd));

0 commit comments

Comments
 (0)