Skip to content

Commit

Permalink
Merge pull request #194 from stefanbirkner/dockerfile
Browse files Browse the repository at this point in the history
Delete redundant code
  • Loading branch information
jglick committed Dec 2, 2022
2 parents 0e281f0 + dc7effb commit d5d2e5c
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,11 @@ private void parse() throws IOException, InterruptedException {
String line;
while ((line = r.readLine()) != null) {
line = line.trim();
if (line.startsWith("#")) {
continue;
}
if (line.startsWith(ARG)) {
String[] keyVal = parseDockerfileArg(line.substring(4));
args.put(keyVal[0], keyVal[1]);
continue;
}

if (line.startsWith(FROM)) {
} else if (line.startsWith(FROM)) {
froms.add(line.substring(5));
continue;
}
}
}
Expand Down

0 comments on commit d5d2e5c

Please sign in to comment.