Skip to content

Commit

Permalink
Use python 3.12 by default, update doc (#4)
Browse files Browse the repository at this point in the history
Ensures that running python will use Python 3.12 and not 3.9.
  • Loading branch information
syndr authored Apr 2, 2024
1 parent 78a7396 commit 42a1120
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ First, [install ansible-builder](https://ansible-builder.readthedocs.io/en/stabl
Then run the following command from the root of this repo:

```bash
$ ansible-builder build -v3 -t quay.io/ansible/awx-ee # --container-runtime=docker # Is podman by default
$ ansible-builder build -v3 -t quay.io/influxdb/awx-ee --container-runtime=docker # Uses podman by default
```

## Build the image via CI

The Github actions configuration in this repository should work for you as well, provided that you're using that platform. Just updates the secrets to reflect your chosen container repository.
The Github actions configuration in this repository should work for you as well, provided that you're using that platform. Just update the secrets to reflect your chosen container repository.

1 change: 1 addition & 0 deletions execution-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ dependencies:
additional_build_steps:
append_base:
- RUN $PYCMD -m pip install -U pip
- RUN unlink /usr/bin/python3 && ln -s /usr/bin/python3.12 /usr/bin/python3
append_final:
- COPY --from=quay.io/ansible/receptor:v1.4.4 /usr/bin/receptor /usr/bin/receptor
- RUN mkdir -p /var/run/receptor
Expand Down

0 comments on commit 42a1120

Please sign in to comment.