DiouxX / docker-glpi

Project to deploy GLPI with docker
219 stars 185 forks source link

Debian bumped to version 12 Bookworm / PHP bumped to version 8.2 / Secrets / Translation #103

Open luckylinux opened 6 months ago

luckylinux commented 6 months ago

Hi.

I'd like to suggest the following changes:

I'm using Podman instead of Docker, but the build succeeds and the program runs.

Create a build.sh script where the Dockerfile and glpi-start.sh are located with the following content. This script assumes the name of the image to be derived from the last part of the path (i.e. if glpi is the image that needs to be built, the files need to be located in glpi folder together with the build.sh script)

#!/bin/bash

# Read this
# https://www.redhat.com/sysadmin/container-permission-denied-errors

# Define parameters
name=$(basename $PWD)

# Build image
podman build -t $name --cap-add all -f Dockerfile .

(unsure if necessarily all CAP_NET_XXX capabilities need to really be added)

Of course please REJECT the .github/workflows directory removal from my side.

Thanks for your work !