Jenkins LTS + PHP8.2 + Composer
255
Certainly! Here's a description that you can use for your Docker Hub repository:
# Jenkins with PHP 8.2 and Composer
This Docker image is based on the official Jenkins LTS image and extends it to include PHP 8.2 and Composer. It is designed for users who require a Jenkins environment with PHP support and dependency management capabilities.
## Features
- **Jenkins LTS**: Built on the reliable Jenkins LTS base image.
- **PHP 8.2**: Comes pre-installed with PHP 8.2 and essential extensions for common web development tasks.
- **Composer**: Dependency manager for PHP, installed globally for easy project setup.
- **System Dependencies**: Includes key system dependencies such as libpng, zlib, libxml, libzip, and more.
## Usage
### Pull the Image
```bash
docker pull nanorocks/jenkins-php82-composer:latest
docker run -d -p 8080:8080 -p 50000:50000 nanorocks/jenkins-php82-composer:latest
Here is an example docker-compose.yml file for using this image:
version: '3.8'
services:
jenkins:
image: nanorocks/jenkins-php82-composer
privileged: true
user: root
restart: always
ports:
- 8080:8080
- 50000:50000
container_name: jenkins
networks:
- homework4
volumes:
- .docker/jenkins_home:/var/jenkins_home
- /var/run/docker.sock:/var/run/docker.sock
networks:
homework4:
Access Jenkins through your web browser (http://localhost:8080) and follow the setup process.
Content type
Image
Digest
sha256:c7fc77da8…
Size
475.8 MB
Last updated
over 2 years ago
docker pull nanorocks/jenkins-php82-composer