You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The install is complaining about Git not installed. Seems that system packages are installed AFTER galaxy libs. And so git is not yet present.
Should I add it in prepend step?
The dependencies should be a list so it can be executed with a defined order.
Here is my error:
#19 [galaxy 4/5] RUN ansible-galaxy role install -r requirements.yml --roles-path "/usr/share/ansible/roles"
#19 0.682 [WARNING]: - ruzickap.proxy_settings was NOT installed successfully: could not
#19 0.682 find/use git, it is required to continue with installing
#19 0.682 https://github.com/ruzickap/ansible-role-proxy_settings.git
#19 0.683 ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.
#19 0.683 Starting galaxy role install process
#19 ERROR: process "/bin/sh -c ansible-galaxy role install $ANSIBLE_GALAXY_CLI_ROLE_OPTS -r requirements.yml --roles-path \"/usr/share/ansible/roles\"" did not complete successfully: exit code: 1
------
> [galaxy 4/5] RUN ansible-galaxy role install -r requirements.yml --roles-path "/usr/share/ansible/roles":
0.682 [WARNING]: - ruzickap.proxy_settings was NOT installed successfully: could not
0.682 find/use git, it is required to continue with installing
0.682 https://github.com/ruzickap/ansible-role-proxy_settings.git
0.683 ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.
0.683 Starting galaxy role install process
------
Dockerfile:45
--------------------
43 | WORKDIR /build
44 |
45 | >>> RUN ansible-galaxy role install $ANSIBLE_GALAXY_CLI_ROLE_OPTS -r requirements.yml --roles-path "/usr/share/ansible/roles"
46 | RUN ANSIBLE_GALAXY_DISABLE_GPG_VERIFY=1 ansible-galaxy collection install $ANSIBLE_GALAXY_CLI_COLLECTION_OPTS -r requirements.yml --collections-path "/usr/share/ansible/collections"
47 |
--------------------
ERROR: failed to solve: process "/bin/sh -c ansible-galaxy role install $ANSIBLE_GALAXY_CLI_ROLE_OPTS -r requirements.yml --roles-path \"/usr/share/ansible/roles\"" did not complete successfully: exit code: 1
The system dependencies are installed in the final image. So yes, you will need to install git in either a prepend_base or prepend_galaxy step, as in your workaround.
Hi,
The install is complaining about Git not installed. Seems that system packages are installed AFTER galaxy libs. And so git is not yet present.
Should I add it in prepend step?
The dependencies should be a list so it can be executed with a defined order.
Here is my error:
My conf:
bindep.txt:
Thanks for you support !
The text was updated successfully, but these errors were encountered: