Compare commits
6 Commits
e6c28c3b15
...
10.0.18
| Author | SHA1 | Date | |
|---|---|---|---|
|
2cb032520a
|
|||
|
604863c39c
|
|||
|
4218c4fac3
|
|||
|
990ac9e0a8
|
|||
|
4fd2ca42dd
|
|||
|
46ef5a68a2
|
@@ -1,7 +1,7 @@
|
|||||||
def main(ctx):
|
def main(ctx):
|
||||||
archs = ["amd64", "arm64"] ## arm
|
archs = ["amd64", "arm64"] ## arm
|
||||||
glpi_version = "10.0.17"
|
glpi_version = "10.0.18"
|
||||||
alpine_version = "3.20"
|
alpine_version = "3.21"
|
||||||
|
|
||||||
out = []
|
out = []
|
||||||
for arch in archs:
|
for arch in archs:
|
||||||
|
|||||||
@@ -13,6 +13,9 @@ RUN \
|
|||||||
chmod +x /usr/local/bin/composer && \
|
chmod +x /usr/local/bin/composer && \
|
||||||
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
|
||||||
|
|
||||||
|
# GLPI 10.x will work only with PHP up to 8.3.
|
||||||
|
# do not trust README.md from glpi github (it says it works with 8.4, but it dies if >=8.4.0)
|
||||||
|
|
||||||
# this are needed if you want to manually install GLPI from git
|
# this are needed if you want to manually install GLPI from git
|
||||||
# RUN \
|
# RUN \
|
||||||
# apk add patch npm gettext
|
# apk add patch npm gettext
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
INSTALL_OK=${INSTALL_OK:-0}
|
||||||
|
|
||||||
chown -R nginx:www-data /logs /config /files /marketplace
|
chown -R nginx:www-data /logs /config /files /marketplace
|
||||||
chmod -R a-x,a=rX,ug+w /logs /config /files /marketplace
|
chmod -R a-x,a=rX,ug+w /logs /config /files /marketplace
|
||||||
|
|
||||||
if [ "$INSTALL_OK" = "1" ] ; then
|
if [ "${INSTALL_OK}" = "1" ] ; then
|
||||||
if [ -f /var/www/glpi/install/install.php ] ; then
|
if [ -f /var/www/glpi/install/install.php ] ; then
|
||||||
rm /var/www/glpi/install/install.php
|
rm /var/www/glpi/install/install.php
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user