Closed NotAFile closed 2 months ago
@NotAFile Thanks for reporting this issue. I can reproduce this error when requirements.yml
file is without any requirements.
The error message in the original description is incorrect. Correct error being produced is:
[3/4] STEP 11/13: COPY --from=galaxy /usr/share/ansible /usr/share/ansible
Error: building at STEP "COPY --from=galaxy /usr/share/ansible /usr/share/ansible": checking on sources under "/var/lib/containers/storage/overlay/55a1a8f1f359696d8dedc18b4bae914608e3504b7743ac031230f0b831480f61/merged": copier: stat: "/usr/share/ansible": no such file or directory
Doesn't seem that it has reappeared since I tested with both devel
branch and version 3.0
and the error is in both.
Not sure how to deal with this quite yet since we don't parse the Galaxy file (simply pass it along to ansible-galaxy
) and there is otherwise no indicator that anything was actually installed (thus producing the /usr/share/ansible
directory). It might be best to simply create this as an empty directory up front, then the COPY command should not fail.
The behaviour of #290 appears to have returned again:
execution-image.yml
requirements.yml
Error: