You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
---
|
|
version: 3
|
|
|
|
build_arg_defaults:
|
|
ANSIBLE_GALAXY_CLI_COLLECTION_OPTS: "--pre"
|
|
|
|
dependencies:
|
|
ansible_core:
|
|
package_pip: ansible-core~=2.12
|
|
ansible_runner:
|
|
package_pip: ansible-runner
|
|
galaxy: ../galaxy-requirements.yml
|
|
python: ../pip-requirements
|
|
python_interpreter:
|
|
package_system: "python311"
|
|
python_path: "/usr/bin/python3.11"
|
|
system: bindep.txt
|
|
|
|
images:
|
|
base_image:
|
|
name: quay.io/centos/centos:stream9-minimal
|
|
|
|
additional_build_files:
|
|
- src: ../ansible.cfg
|
|
dest: configs
|
|
|
|
options:
|
|
package_manager_path: /usr/bin/microdnf
|
|
|
|
additional_build_steps:
|
|
append_base:
|
|
- RUN $PYCMD -m pip install -U pip
|
|
prepend_galaxy:
|
|
- ADD _build/configs/ansible.cfg ~/.ansible.cfg
|
|
- RUN microdnf install -y git-lfs openssh-clients
|
|
- RUN mkdir -p /root/.ssh
|
|
- ADD id_ed25519 /root/.ssh/id_ed25519
|
|
- RUN chmod -R 700 /root/.ssh
|
|
- RUN ssh-keyscan git.dev-at.de >> /root/.ssh/known_hosts
|
|
- RUN eval $(ssh-agent) && ssh-add /root/.ssh/id_ed25519
|
|
append_final:
|
|
- COPY --from=quay.io/ansible/receptor:devel /usr/bin/receptor /usr/bin/receptor
|
|
- RUN mkdir -p /var/run/receptor
|
|
- RUN git lfs install --system
|