From eb3a5b0558aa4c54e008677458d452416c58f106 Mon Sep 17 00:00:00 2001 From: Justin Frydman Date: Fri, 30 Aug 2024 10:28:01 -0600 Subject: [PATCH] Try using ghcr.io for base images --- containers/slic/Dockerfile | 6 +++--- containers/wordpress/Dockerfile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/containers/slic/Dockerfile b/containers/slic/Dockerfile index bee8fe5..c06e126 100644 --- a/containers/slic/Dockerfile +++ b/containers/slic/Dockerfile @@ -1,10 +1,10 @@ ARG PHP_VERSION=7.4 # Source Composer 1 and 2 from the respective images, multi-layer builds. -FROM composer:1 AS composer1 -FROM composer:2 AS composer2 +FROM ghcr.io/composer/composer:1 AS composer1 +FROM ghcr.io/composer/composer:2 AS composer2 -FROM php:${PHP_VERSION} +FROM ghcr.io/php/php:${PHP_VERSION} ARG NODE_VERSION=18.13.0 ARG NVM_VERSION=v0.39.7 diff --git a/containers/wordpress/Dockerfile b/containers/wordpress/Dockerfile index 153d5f0..bdb9717 100644 --- a/containers/wordpress/Dockerfile +++ b/containers/wordpress/Dockerfile @@ -2,7 +2,7 @@ ARG WORDPRESS_IMAGE_VERSION=wordpress/apache ARG PHP_VERSION=7.4 ARG WP_VERSION=6.1 -FROM wordpress:${WP_VERSION}-php${PHP_VERSION}-apache +FROM ghcr.io/wordpress/wordpress:${WP_VERSION}-php${PHP_VERSION}-apache ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ RUN chmod a+x /usr/local/bin/install-php-extensions && install-php-extensions xdebug COPY xdebug-on.sh /usr/local/bin/xdebug-on