Skip to content

Commit ede8e64

Browse files
FirobeMisterDA
authored andcommitted
match case between FROM and AS
1 parent 2e40758 commit ede8e64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dockerfile.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ let rec string_of_line ~escape (t : line) =
378378
| Some p -> "--platform=" ^ p ^ " ");
379379
image;
380380
(match tag with None -> "" | Some t -> ":" ^ t);
381-
(match alias with None -> "" | Some a -> " as " ^ a);
381+
(match alias with None -> "" | Some a -> " AS " ^ a);
382382
])
383383
| `Maintainer m -> cmd "MAINTAINER" m
384384
| `Run (mounts, network, security, c) ->

0 commit comments

Comments
 (0)