Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
0a35449ec1
|
|||
|
3fd213d95e
|
|||
|
590d05784b
|
|||
|
b879275933
|
|||
|
d4cd79e714
|
|||
|
b46387aa63
|
6
.dockerignore
Normal file
6
.dockerignore
Normal file
@@ -0,0 +1,6 @@
|
||||
db/
|
||||
glpi/
|
||||
docker-compose.yaml
|
||||
.drone.yaml
|
||||
.env
|
||||
.gitignore
|
||||
@@ -14,7 +14,7 @@ steps:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile
|
||||
build_args:
|
||||
- GLPI_VERSION=10.0.7
|
||||
- GLPI_VERSION=10.0.8
|
||||
username:
|
||||
from_secret: docker_username
|
||||
tags:
|
||||
@@ -36,7 +36,7 @@ steps:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile
|
||||
build_args:
|
||||
- GLPI_VERSION=10.0.7
|
||||
- GLPI_VERSION=10.0.8
|
||||
username:
|
||||
from_secret: docker_username
|
||||
tags:
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
FROM alpine:3.17
|
||||
ARG GLPI_VERSION=10.0.7
|
||||
FROM alpine:3.18
|
||||
ARG GLPI_VERSION=10.0.8
|
||||
|
||||
RUN \
|
||||
mkdir -p /logs /config /files /marketplace && \
|
||||
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
|
||||
|
||||
COPY rootfs /
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
session.cookie_httponly = on
|
||||
memory_limit = 64M
|
||||
memory_limit = 256M
|
||||
file_uploads = on
|
||||
max_execution_time = 600
|
||||
session.auto_start = off
|
||||
Reference in New Issue
Block a user