diff --git a/builder/README.md b/builder/README.md index a73b7dd..d6ad496 100644 --- a/builder/README.md +++ b/builder/README.md @@ -27,52 +27,52 @@ The base image can be chosen from the tags from [http://quay.io/ansible/ansible- ```bash cd builder -ansible-builder build --tag registry.example.com/ansible/ee:2.10-custom --container-runtime docker --verbosity 3 +ansible-builder build --tag registry.example.com/ansible/ee:2.12-custom --container-runtime docker --verbosity 3 ``` ```bash -$ ansible-builder build --tag registry.example.com/ansible/ee:2.10-custom --container-runtime docker --verbosity 3 -Ansible Builder is building your execution environment image, "registry.example.com/ansible/ee:2.10-custom". +$ ansible-builder build --tag registry.example.com/ansible/ee:2.12-custom --container-runtime docker --verbosity 3 +Ansible Builder is building your execution environment image, "registry.example.com/ansible/ee:2.12-custom". File context/_build/requirements.yml will be created. File context/_build/requirements.txt will be created. File context/_build/bindep.txt will be created. File context/_build/ansible.cfg will be created. Rewriting Containerfile to capture collection requirements Running command: - docker build -f context/Dockerfile -t registry.example.com/ansible/ee:2.10-custom context + docker build -f context/Dockerfile -t registry.example.com/ansible/ee:2.12-custom context Sending build context to Docker daemon 7.68kB -Step 1/25 : ARG EE_BASE_IMAGE=quay.io/ansible/ansible-runner:stable-2.10-devel +Step 1/25 : ARG EE_BASE_IMAGE=quay.io/ansible/ansible-runner:stable-2.12-latest Step 2/25 : ARG EE_BUILDER_IMAGE=quay.io/ansible/ansible-builder:latest Step 3/25 : FROM $EE_BASE_IMAGE as galaxy ... -Removing intermediate container a083001a665a - ---> 050cf7076379 -Successfully built 050cf7076379 -Successfully tagged registry.example.com/ansible/ee:2.10-custom +Removing intermediate container cb1d45eac7ba + ---> f6c3375db22e +Successfully built f6c3375db22e +Successfully tagged registry.example.com/ansible/ee:2.12-custom Complete! The build context can be found at: /home/********/awx-on-k3s/builder/context ``` ```bash $ docker image ls -REPOSITORY TAG IMAGE ID CREATED SIZE -registry.example.com/ansible/ee 2.10-custom 6fb343319a80 2 minutes ago 871MB +REPOSITORY TAG IMAGE ID CREATED SIZE +registry.example.com/ansible/ee 2.12-custom f6c3375db22e 4 minutes ago 748MB ``` Now you can push this image to the container registry to use as Execution Environment on AWX. If you want to deploy your own private container registry, refer [additional guide on this repository](../registry). ```bash -$ docker push registry.example.com/ansible/ee:2.10-custom +$ docker push registry.example.com/ansible/ee:2.12-custom The push refers to repository [registry.example.com/ansible/ee] ... -2.10-custom: digest: sha256:0138445c58253c733f2e255b618469d9f61337901c13e3be6412984fd835ad55 size: 3880 +2.12-custom: digest: sha256:043a2bd19f4fcc5bd189f0ef0e8fb4e3b436c90e984f23f7dcf0e6b3da4443e0 size: 4515 ``` The `Dockerfile` generated for the build will be saved under the `context` directory. ```bash $ cat context/Dockerfile -ARG EE_BASE_IMAGE=quay.io/ansible/ansible-runner:stable-2.10-devel +ARG EE_BASE_IMAGE=quay.io/ansible/ansible-runner:stable-2.12-latest ARG EE_BUILDER_IMAGE=quay.io/ansible/ansible-builder:latest FROM $EE_BASE_IMAGE as galaxy diff --git a/builder/execution-environment.yml b/builder/execution-environment.yml index c7d5d4c..eb30273 100644 --- a/builder/execution-environment.yml +++ b/builder/execution-environment.yml @@ -2,7 +2,7 @@ version: 1 build_arg_defaults: - EE_BASE_IMAGE: quay.io/ansible/ansible-runner:stable-2.10-devel + EE_BASE_IMAGE: quay.io/ansible/ansible-runner:stable-2.12-latest ansible_config: ansible.cfg