Skip to content

Commit

Permalink
getting_started_ee/build_execution_environment.rst: temporary sample …
Browse files Browse the repository at this point in the history
…fix (#1924) (#1927)

(cherry picked from commit c848803)

Co-authored-by: Andrew Klychkov <[email protected]>
  • Loading branch information
patchback[bot] and Andersson007 authored Sep 23, 2024
1 parent 700c5f5 commit 3938f3c
Showing 1 changed file with 25 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,31 @@ To build your first EE:
#. Create a ``execution-environment.yml`` file that specifies dependencies to include in the image.

.. literalinclude:: yaml/execution-environment.yml
:language: yaml

> The `psycopg2-binary` Python package is included in the `requirements.txt` file for the collection.
> For collections that do not include `requirements.txt` files, you need to specify Python dependencies explicitly.
> See the `Ansible Builder documentation <https://ansible-builder.readthedocs.io/en/stable/definition/>`_ for details.
.. code-block:: yaml
version: 3
images:
base_image:
name: quay.io/fedora/fedora:latest
dependencies:
ansible_core:
package_pip: ansible-core
ansible_runner:
package_pip: ansible-runner
system:
- openssh-clients
- sshpass
galaxy:
collections:
- name: community.postgresql
.. note::

The `psycopg2-binary` Python package is included in the `requirements.txt` file for the collection.
For collections that do not include `requirements.txt` files, you need to specify Python dependencies explicitly.
See the `Ansible Builder documentation <https://ansible-builder.readthedocs.io/en/stable/definition/>`_ for details.

#. Build a EE container image called ``postgresql_ee``.

Expand Down

0 comments on commit 3938f3c

Please sign in to comment.