This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
ARG EE_BASE_IMAGE="quay.io/ansible/ansible-runner:stable-2.11-latest"
|
ARG EE_BASE_IMAGE="quay.io/centos/centos:stream9"
|
||||||
ARG PYCMD="/usr/bin/python3"
|
ARG PYCMD="/usr/bin/python3"
|
||||||
ARG PKGMGR_PRESERVE_CACHE=""
|
ARG PKGMGR_PRESERVE_CACHE=""
|
||||||
ARG ANSIBLE_GALAXY_CLI_COLLECTION_OPTS="--pre"
|
ARG ANSIBLE_GALAXY_CLI_COLLECTION_OPTS="--pre"
|
||||||
@@ -17,6 +17,8 @@ ARG ANSIBLE_GALAXY_CLI_ROLE_OPTS
|
|||||||
ARG ANSIBLE_INSTALL_REFS
|
ARG ANSIBLE_INSTALL_REFS
|
||||||
ARG PKGMGR
|
ARG PKGMGR
|
||||||
|
|
||||||
|
RUN /usr/bin/python3 -m ensurepip
|
||||||
|
RUN /usr/bin/python3 -m pip install --upgrade pip
|
||||||
RUN $PYCMD -m ensurepip
|
RUN $PYCMD -m ensurepip
|
||||||
RUN $PYCMD -m pip install --no-cache-dir $ANSIBLE_INSTALL_REFS
|
RUN $PYCMD -m pip install --no-cache-dir $ANSIBLE_INSTALL_REFS
|
||||||
COPY _build/scripts/ /output/scripts/
|
COPY _build/scripts/ /output/scripts/
|
||||||
|
|||||||
@@ -29,12 +29,15 @@ dependencies:
|
|||||||
|
|
||||||
images:
|
images:
|
||||||
base_image:
|
base_image:
|
||||||
name: quay.io/ansible/ansible-runner:stable-2.11-latest
|
name: quay.io/centos/centos:stream9
|
||||||
|
|
||||||
additional_build_files:
|
additional_build_files:
|
||||||
- src: ansible.cfg
|
- src: ansible.cfg
|
||||||
dest: configs
|
dest: configs
|
||||||
additional_build_steps:
|
additional_build_steps:
|
||||||
|
prepend_base:
|
||||||
|
- RUN /usr/bin/python3 -m ensurepip
|
||||||
|
- RUN /usr/bin/python3 -m pip install --upgrade pip
|
||||||
# prepend_galaxy: |
|
# prepend_galaxy: |
|
||||||
# RUN pip3 install --upgrade pip setuptools ansible ansible-runner
|
# RUN pip3 install --upgrade pip setuptools ansible ansible-runner
|
||||||
prepend_galaxy:
|
prepend_galaxy:
|
||||||
|
|||||||
Reference in New Issue
Block a user