Get php5-fpm image from registry instead of trying to build it (PHP5 is no longer available in recent Debian releases).

This commit is contained in:
yohan 2024-04-07 11:12:38 +02:00
parent 6f9a392ae9
commit 0eb083fee5

View File

@ -102,10 +102,6 @@
repo_name: docker-apache-for-fpm
image_name: apache-scuttle
result_var: apache_scuttle_result
- repo_url: "https://git.{{ DOMAIN }}/yohan/docker-php5-fpm.git"
repo_name: docker-php5-fpm
image_name: php5-fpm
result_var: php5_fpm_result
- name: Create apache-scuttle container
containers.podman.podman_container:
@ -122,11 +118,17 @@
SERVER_NAME: "scuttle.{{ DOMAIN }}"
become: true
- name: Login to {{ private_registry_domain }} and create ${XDG_RUNTIME_DIR}/containers/auth.json
containers.podman.podman_login:
username: "{{ private_registry_user }}"
password: "{{ private_registry_password }}"
registry: "{{ private_registry_domain }}"
become: true
- name: Create php5-fpm container
containers.podman.podman_container:
name: php5-fpm
image: php5-fpm
recreate: "{{ php5_fpm_result is changed }}"
image: "{{ private_registry_domain }}/php5-fpm:f533a39b96"
network:
- php5-fpm
- mysqlnet