Superseded by buildkit/WorkdirRelativePath, which provides the same check with improved diagnostics.
Description
Using a relativeWORKDIR without first setting an absolute path can lead to unexpected results if the base image changes its working directory.