Skip to content

Tara-Wij/docker-ci

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

GovCMS Testing Docker Images

This repository contains Docker images designed for testing and development with GovCMS. These images are tailored for specific PHP versions and use cases. You can use them to create an environment suitable for testing your GovCMS projects.

Images Included

PHP-Apache Images

  • govcmstesting/php:8.1-apache: PHP 8.1 with Apache web server.
  • govcmstesting/php:7.4-apache: PHP 7.4 with Apache web server.

PHP-CLI Images

  • govcmstesting/php:8.1-cli: PHP 8.1 for command-line operations.
  • govcmstesting/php:7.4-cli: PHP 7.4 for command-line operations.

Usage

Building Images

You can build these images using the provided Dockerfiles. For example, to build the PHP-Apache image for PHP 8.1, use the following command:

docker build --tag govcmstesting/php:8.1-apache .

Releasing Images

To release these images, you can use Docker Buildx, which allows you to build and push images for multiple platforms. For instance, to release the PHP-Apache image for PHP 8.1 for various platforms, use the following command:

docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8 --tag govcmstesting/php:8.1-apache --push .
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8 --tag govcmstesting/php:8.1-cli --push .

Make sure to configure Docker Buildx appropriately to work with multiple platforms.

Pulling Images

You can pull these images from a container registry using docker pull. For instance, to pull the PHP 7.4 Apache image, use the following command:

docker pull govcmstesting/php:8.1-apache
docker pull govcmstesting/php:8.1-cli

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Docker Image packaging for CI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%