17 Commits
Author SHA1 Message Date
DiouxX 268159bfd0 Merge pull request #124 from BossMBGaming/BossMBGaming-patch-1
Update Dockerfile and add php-bcmath
2024-12-01 10:31:59 +01:00
Micah Bramble c99aa8943c Update Dockerfile and add php-bcmath
Add php-bcmath extension to support GLPI >= 11.0.0
2024-11-28 23:14:38 -04:00
DiouxX 39b5992a89 Update docker-php7.4.yml 2024-06-14 15:21:38 +02:00
DiouxX d8a88e73b7 Create docker-php7.4.yml 2024-06-14 15:19:04 +02:00
DiouxX 4dff6e4ae5 Merge pull request #116 from marvinpac-it/check-bin-dir
Fix: Installation does not happen when glpi volume is provided by a persistent volume on kubernetes
2024-04-07 20:29:17 +02:00
Olivier Boudry 7fb771082c Make install happen when using persistent volumes 2024-04-02 13:16:12 +00:00
DiouxX c67bc0b317 Merge pull request #113 from DiouxX/dev
Update to debian 12
2024-03-26 19:52:46 +01:00
DiouxX f8ceba3d73 Add Docker build and push to dev branch 2024-03-22 13:38:30 +01:00
DiouxX f0342a357f Github actions docker-dev dispatch manually 2024-03-22 13:31:46 +01:00
DiouxX 6da5988ef3 Merge pull request #112 from DiouxX/DiouxX-patch-1
Create docker-dev.yml
2024-03-22 13:21:04 +01:00
DiouxX 7f7075bf06 Create docker-dev.yml 2024-03-22 13:20:01 +01:00
DiouxX fb5f49768c Merge pull request #111 from DiouxX/debian12
Debian12
2024-03-22 12:02:44 +01:00
DiouxX 3f9a84e253 Merge branch 'dev' into debian12 2024-03-22 11:56:42 +01:00
DiouxX a91721b753 Upgrade to Debian 12 2024-03-22 11:46:13 +01:00
DiouxX b97b32ebe1 Merge pull request #105 from levihb/master
Fix setting of session.cookie.httponly if already set
2024-03-01 15:39:07 +01:00
levihb af603af7b5 Fix setting of session.cookie.httponly if already set 2024-02-28 17:31:13 +00:00
DiouxX 58ff53e00b Add SNMP package 2018-12-28 10:19:45 +01:00
5 changed files with 72 additions and 35 deletions

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
name: Build & Publish Dev Docker image
on:
push:
branches:
- "dev"
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5.3.0
with:
push: true
tags: diouxx/glpi:dev
+28
View File
@@ -0,0 +1,28 @@
name: Build & Publish Docker Image PHP 7.4
on:
push:
branches:
- php7.4
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set output
id: vars
run: echo ::set-output name=tag::$
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: diouxx/glpi:php7.4
+17 -16
View File
@@ -1,5 +1,5 @@
#On choisit une debian
FROM debian:11.6
FROM debian:12.5
LABEL org.opencontainers.image.authors="github@diouxx.be"
@@ -7,7 +7,7 @@ LABEL org.opencontainers.image.authors="github@diouxx.be"
#Ne pas poser de question à l'installation
ENV DEBIAN_FRONTEND noninteractive
#Installation d'apache et de php8.1 avec extension
#Installation d'apache et de php8.3 avec extension
RUN apt update \
&& apt install --yes ca-certificates apt-transport-https lsb-release wget curl \
&& curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg \
@@ -15,23 +15,24 @@ RUN apt update \
&& apt update \
&& apt install --yes --no-install-recommends \
apache2 \
php8.1 \
php8.1-mysql \
php8.1-ldap \
php8.1-xmlrpc \
php8.1-imap \
php8.1-curl \
php8.1-gd \
php8.1-mbstring \
php8.1-xml \
php8.3 \
php8.3-mysql \
php8.3-bcmath \
php8.3-ldap \
php8.3-xmlrpc \
php8.3-imap \
php8.3-curl \
php8.3-gd \
php8.3-mbstring \
php8.3-xml \
php-cas \
php8.1-intl \
php8.1-zip \
php8.1-bz2 \
php8.1-redis \
php8.3-intl \
php8.3-zip \
php8.3-bz2 \
php8.3-redis \
cron \
jq \
libldap-2.4-2 \
libldap-2.5-0 \
libldap-common \
libsasl2-2 \
libsasl2-modules \
-15
View File
@@ -1,15 +0,0 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
- master
pool:
vmImage: ubuntu-latest
steps:
- task: WhiteSource@21
inputs:
cwd: '$(System.DefaultWorkingDirectory)'
+4 -4
View File
@@ -6,12 +6,12 @@
if [[ -z "${TIMEZONE}" ]]; then echo "TIMEZONE is unset";
else
echo "date.timezone = \"$TIMEZONE\"" > /etc/php/8.1/apache2/conf.d/timezone.ini;
echo "date.timezone = \"$TIMEZONE\"" > /etc/php/8.1/cli/conf.d/timezone.ini;
echo "date.timezone = \"$TIMEZONE\"" > /etc/php/8.3/apache2/conf.d/timezone.ini;
echo "date.timezone = \"$TIMEZONE\"" > /etc/php/8.3/cli/conf.d/timezone.ini;
fi
#Enable session.cookie_httponly
sed -i 's,session.cookie_httponly =,session.cookie_httponly = on,g' /etc/php/8.1/apache2/php.ini
sed -i 's,session.cookie_httponly = *\(on\|off\|true\|false\|0\|1\)\?,session.cookie_httponly = on,gi' /etc/php/8.3/apache2/php.ini
FOLDER_GLPI=glpi/
FOLDER_WEB=/var/www/html/
@@ -24,7 +24,7 @@ then
fi
#Téléchargement et extraction des sources de GLPI
if [ "$(ls ${FOLDER_WEB}${FOLDER_GLPI})" ];
if [ "$(ls ${FOLDER_WEB}${FOLDER_GLPI}/bin)" ];
then
echo "GLPI is already installed"
else