6 Commits

Author SHA1 Message Date
0a35449ec1 fix missing php extensions
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-07-10 00:12:45 +02:00
3fd213d95e updated glpi
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-07-10 00:00:59 +02:00
590d05784b updated php
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-16 11:17:49 +02:00
b879275933 updated alpine release 2023-05-16 11:16:16 +02:00
d4cd79e714 added .dockerignore 2023-05-16 11:15:44 +02:00
b46387aa63 increased php memory
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-16 11:03:11 +02:00
5 changed files with 15 additions and 6 deletions

6
.dockerignore Normal file
View File

@@ -0,0 +1,6 @@
db/
glpi/
docker-compose.yaml
.drone.yaml
.env
.gitignore

View File

@@ -14,7 +14,7 @@ steps:
context: . context: .
dockerfile: ./Dockerfile dockerfile: ./Dockerfile
build_args: build_args:
- GLPI_VERSION=10.0.7 - GLPI_VERSION=10.0.8
username: username:
from_secret: docker_username from_secret: docker_username
tags: tags:
@@ -36,7 +36,7 @@ steps:
context: . context: .
dockerfile: ./Dockerfile dockerfile: ./Dockerfile
build_args: build_args:
- GLPI_VERSION=10.0.7 - GLPI_VERSION=10.0.8
username: username:
from_secret: docker_username from_secret: docker_username
tags: tags:

View File

@@ -1,10 +1,13 @@
FROM alpine:3.17 FROM alpine:3.18
ARG GLPI_VERSION=10.0.7 ARG GLPI_VERSION=10.0.8
RUN \ RUN \
mkdir -p /logs /config /files /marketplace && \ mkdir -p /logs /config /files /marketplace && \
apk -U upgrade && \ apk -U upgrade && \
apk add curl nginx php81 php81-bz2 php81-ctype php81-curl php81-dom php81-exif php81-fileinfo php81-fpm php81-gd php81-iconv php81-intl php81-ldap php81-mysqli php81-opcache php81-openssl php81-pecl-apcu php81-pecl-redis php81-phar php81-session php81-simplexml php81-sodium php81-xml php81-zip && \ apk add curl nginx php82 php82-bz2 php82-ctype php82-curl php82-dom php82-exif \
php82-fileinfo php82-fpm php82-gd php82-iconv php82-intl php82-ldap php82-mysqli \
php82-opcache php82-openssl php82-pecl-apcu php82-pecl-redis php82-phar php82-session \
php82-simplexml php82-sodium php82-xml php82-zip php82-xmlreader php82-xmlwriter && \
wget -O - https://github.com/glpi-project/glpi/releases/download/${GLPI_VERSION}/glpi-${GLPI_VERSION}.tgz | tar xz -C /var/www wget -O - https://github.com/glpi-project/glpi/releases/download/${GLPI_VERSION}/glpi-${GLPI_VERSION}.tgz | tar xz -C /var/www
COPY rootfs / COPY rootfs /

View File

@@ -1,5 +1,5 @@
session.cookie_httponly = on session.cookie_httponly = on
memory_limit = 64M memory_limit = 256M
file_uploads = on file_uploads = on
max_execution_time = 600 max_execution_time = 600
session.auto_start = off session.auto_start = off