Skip to content

Commit

Permalink
Removes phpCAS and pear from glpi-cron and gpli-cron-daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
PPCM committed Nov 24, 2024
1 parent 244fcc8 commit ad8e68c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions glpi-cron-daemon/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN apk --no-cache upgrade \
php83-curl php83-fileinfo php83-gd php83-mbstring php83-mysqli php83-session \
php83-simplexml php83-xml php83-xmlreader php83-xmlwriter php83-intl php83-dom php83-soap \
php83-ldap php83-pecl-apcu php83-ctype php83-sodium php83-snmp \
php83-exif php83-phar php83-zip php83-bz2 php83-opcache php83-pear php83-iconv php83-pdo \
php83-exif php83-phar php83-zip php83-bz2 php83-opcache php83-iconv php83-pdo \
nmap perl perl-net-snmp perl-crypt-des perl-digest-hmac wget inotify-tools tzdata

# Working directory to root
Expand All @@ -38,10 +38,6 @@ RUN \
mkdir -p /var/www/glpi \
&& addgroup -g 101 apache \
&& adduser -u 100 -H -D -h /var/www -s /sbin/nologin -G apache -g 'apache' apache \
# Installation of phpCAS
&& wget https://github.com/apereo/phpCAS/releases/download/${CAS_VERSION}/CAS-${CAS_VERSION}.tgz \
&& pear install CAS-${CAS_VERSION}.tgz \
&& rm CAS-${CAS_VERSION}.tgz \
# Installation of GLPI
&& wget https://github.com/glpi-project/glpi/releases/download/${GLPI_VERSION}/glpi-${GLPI_VERSION}.tgz \
&& tar xzf glpi-${GLPI_VERSION}.tgz \
Expand Down
6 changes: 1 addition & 5 deletions glpi-cron/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN apk --no-cache upgrade \
php83-curl php83-fileinfo php83-gd php83-mbstring php83-mysqli php83-session \
php83-simplexml php83-xml php83-xmlreader php83-xmlwriter php83-intl php83-dom php83-soap \
php83-ldap php83-pecl-apcu php83-ctype php83-sodium php83-snmp \
php83-exif php83-phar php83-zip php83-bz2 php83-opcache php83-pear php83-iconv php83-pdo \
php83-exif php83-phar php83-zip php83-bz2 php83-opcache php83-iconv php83-pdo \
nmap perl perl-net-snmp perl-crypt-des perl-digest-hmac wget inotify-tools

# Working directory to root
Expand All @@ -37,10 +37,6 @@ RUN \
mkdir -p /var/www/glpi \
&& addgroup -g 101 apache \
&& adduser -u 100 -H -D -h /var/www -s /sbin/nologin -G apache -g 'apache' apache \
# Installation of phpCAS
&& wget https://github.com/apereo/phpCAS/releases/download/${CAS_VERSION}/CAS-${CAS_VERSION}.tgz \
&& pear install CAS-${CAS_VERSION}.tgz \
&& rm CAS-${CAS_VERSION}.tgz \
# Installation of GLPI
&& wget https://github.com/glpi-project/glpi/releases/download/${GLPI_VERSION}/glpi-${GLPI_VERSION}.tgz \
&& tar xzf glpi-${GLPI_VERSION}.tgz \
Expand Down

0 comments on commit ad8e68c

Please sign in to comment.