The final argument of an ADD or COPY instruction is either the name of a file or a folder. While it is not possible to deduce what folders exist on an image, we know with certainty that any directory defined by a prior WORKDIR instruction is valid. We should suggest these paths when we compute completion items.
The final argument of an
ADD
orCOPY
instruction is either the name of a file or a folder. While it is not possible to deduce what folders exist on an image, we know with certainty that any directory defined by a priorWORKDIR
instruction is valid. We should suggest these paths when we compute completion items.