davidalger / docker-images-php

PHP and PHP-FPM images for Docker based on EL 8
https://hub.docker.com/r/davidalger/php
MIT License
15 stars 16 forks source link

IUS Project Based Images Deprecation #3

Closed davidalger closed 3 years ago

davidalger commented 3 years ago

These PHP images will shortly be rebuilt based on the Remi RPMs (https://rpms.remirepo.net/) rather than on those published via the IUS Project (https://ius.io/). This is being done with longevity of these images in mind, and to better enable speedy updates and following the PHP release cycle.

As part of the move to Remi, the IUS based images available here will be deprecated effective immediately. The IUS based images have been pushed to Docker Hub with an additional -ius suffix and will remain available for at least the next 90 days, after which they may be removed and will no longer be available (old Dockerfiles could still be used by you to build IUS based images as-needed should you not be able to migrate to using the Remi RPMs).

Images were moved via the following process:

  1. Fetch major release tags:
$ tags=$(curl -s https://registry.hub.docker.com/v1/repositories/davidalger/php/tags | jq -r '.[].name' | grep -E '[0-9]\.[0-9]')
$ for tag in $tags; do echo $tag; done
5.5
5.5-fpm
5.5-fpm-loaders
5.5-loaders
5.6
5.6-fpm
5.6-fpm-loaders
5.6-loaders
7.0
7.0-fpm
7.0-fpm-loaders
7.0-loaders
7.1
7.1-fpm
7.1-fpm-loaders
7.1-loaders
7.2
7.2-fpm
7.2-fpm-loaders
7.2-loaders
7.3
7.3-fpm
7.3-fpm-loaders
7.3-loaders
7.4
7.4-fpm
7.4-fpm-loaders
7.4-loaders
  1. Pull and retag the image with -ius suffix applied, then push the new tag to docker hub:
$ for tag in $tags; do docker pull davidalger/php:$tag; done
$ for tag in $tags; do docker image tag davidalger/php:$tag davidalger/php:$tag-ius; done
$ for tag in $tags; do docker push davidalger/php:$tag-ius; done
  1. List new tags from Docker Hub:
$ curl -s https://registry.hub.docker.com/v1/repositories/davidalger/php/tags | jq -r '.[].name' | grep ius\$ | sort -nr
7.4-loaders-ius
7.4-ius
7.4-fpm-loaders-ius
7.4-fpm-ius
7.3-loaders-ius
7.3-ius
7.3-fpm-loaders-ius
7.3-fpm-ius
7.2-loaders-ius
7.2-ius
7.2-fpm-loaders-ius
7.2-fpm-ius
7.1-loaders-ius
7.1-ius
7.1-fpm-loaders-ius
7.1-fpm-ius
7.0-loaders-ius
7.0-ius
7.0-fpm-loaders-ius
7.0-fpm-ius
5.6-loaders-ius
5.6-ius
5.6-fpm-loaders-ius
5.6-fpm-ius
5.5-loaders-ius
5.5-ius
5.5-fpm-loaders-ius
5.5-fpm-ius