I have a Dockerfile with ARG before first FROM. It builds correctly on my server (Docker version 20.10.7) however when I try to build it as part of GitLab CICD (GitLab version 13.7.4) within a DinD container (image docker:20.10.7) the build fails with the following message:
Please provide a source image with `from` prior to commit
I'll appreciate help with resolving this issue.
Thanks, Barak