Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V10 for Test #39

Open
Sailman83 opened this issue Dec 20, 2021 · 5 comments
Open

V10 for Test #39

Sailman83 opened this issue Dec 20, 2021 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@Sailman83
Copy link

Hello,

Can you maak a Dockerfile for V10 ?

https://github.com/fametec/glpi/blob/master/docker/apache/Dockerfile
With
https://github.com/glpi-project/glpi/releases/download/10.0.0-beta/glpi-10.0.0-beta.tgz

If you want I can take a fork but a I think the speedest is it's you make a new version directly

@eduardofraga eduardofraga added the enhancement New feature or request label Dec 22, 2021
@eduardofraga eduardofraga self-assigned this Dec 22, 2021
@eduardofraga
Copy link
Contributor

PHP >= 7.4.0 required

@eduardofraga
Copy link
Contributor

image

@Sailman83
Copy link
Author

Sailman83 commented Dec 26, 2021

Thanks,

Do you will push on Docker Hub ?

I will test this this week. I will close this ticket after 😁😋

@gpontespc
Copy link

gpontespc commented Mar 28, 2022

@eduardofraga Você tem o Dockerfile da versão 10 ai fácil? Eu subi aqui uma instância mas fica loopando no install.php e não abre o GLPI.

Eu modifiquei o Dockerfile pra utilizar a versão 7.4 do PHP:

yum-config-manager --enable remi-php74

E utilizar a seguinte release:

https://github.com/glpi-project/glpi/releases/download/10.0.0-rc3/glpi-10.0.0-rc3.tgz

@xventil
Copy link

xventil commented Apr 19, 2022

@gpontespc Boa tarde, aqui está o dockerfile, nota que precisas da restante estrutura de ficheiros e pastas (scripts e php.d e conf.d )

FROM centos:7

MAINTAINER eduardo@fametec.com.br

ENV VERSION 10.0.0-rc3

ENV GLPI_LANG pt_BR

ENV MARIADB_HOST mariadb-glpi

ENV MARIADB_PORT 3306

ENV MARIADB_DATABASE glpi

ENV MARIADB_USER glpi

ENV MARIADB_PASSWORD glpi

WORKDIR /var/www/html

RUN yum -y install epel-release yum-utils

RUN yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm

RUN yum-config-manager --enable remi-php74

RUN yum -y install
bzip2
httpd
php
php-common
php-mcrypt
php-cli
php-gd
php-mysqlnd
php-json
php-mbstring
php-mysqli
php-session
php-gd
php-curl
php-domxml
php-imap
php-ldap
php-openssl
php-opcache
php-apcu
php-xmlrpc
php-intl
php-zip
php-pear-CAS
php-ZendFramework-Cache-Backend-Apc
php-sodium
php-pecl-zip
&& yum -y clean all

ADD php.d /etc/php.d

ADD conf.d /etc/httpd/conf.d

COPY --chown=apache:apache src/glpi /var/www/html

ADD https://github.com/glpi-project/glpi/releases/download/10.0.0-rc3/glpi-10.0.0-rc3.tgz /tmp/

RUN tar -zxf /tmp/glpi-10.0.0-rc3.tgz -C /tmp/
&& mv /tmp/glpi/* /var/www/html/
&& chown -R apache:apache /var/www/html
&& rm -rf /tmp/glpi-10.0.0-rc3.tgz

VOLUME [ "/var/www/html/files", "/var/www/html/plugins" ]

ADD scripts/glpi-entrypoint.sh scripts/plugins.sh /

RUN chmod 755 /glpi-entrypoint.sh /plugins.sh
&& rm -rf /var/www/html/install/install.php

EXPOSE 80/tcp

CMD ["/glpi-entrypoint.sh"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants