mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-27 01:28:56 +08:00
Change: Docker PHP 7.4 and drop old mcrypt and use xxtea
This commit is contained in:
parent
7921975bd6
commit
9679b63b60
2 changed files with 7 additions and 7 deletions
|
@ -1,17 +1,17 @@
|
|||
FROM php:7.3-fpm
|
||||
FROM php:7.4-fpm
|
||||
|
||||
RUN apt-get update
|
||||
|
||||
RUN apt-get install -y \
|
||||
git unzip wget zip curl mlocate \
|
||||
libmcrypt-dev libicu-dev libpcre3-dev libicu-dev \
|
||||
libicu-dev libpcre3-dev libicu-dev \
|
||||
build-essential chrpath libssl-dev \
|
||||
libxft-dev libfreetype6 libfreetype6-dev \
|
||||
libpng-dev libjpeg62-turbo-dev \
|
||||
libfontconfig1 libfontconfig1-dev libzip-dev libldap2-dev
|
||||
|
||||
RUN pecl install mcrypt-1.0.2 && \
|
||||
docker-php-ext-enable mcrypt
|
||||
RUN pecl install xxtea-1.0.11 && \
|
||||
docker-php-ext-enable xxtea
|
||||
|
||||
RUN docker-php-ext-configure intl && \
|
||||
docker-php-ext-configure ldap && \
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Inspired by the original Rainloop dockerfile from youtous on GitLab
|
||||
FROM php:7.3-fpm-buster
|
||||
FROM php:7.4-fpm-buster
|
||||
|
||||
ARG FILES_ZIP
|
||||
LABEL org.label-schema.description="SnappyMail webmail client image using nginx, php-fpm based on Debian Buster"
|
||||
|
@ -15,7 +15,7 @@ RUN mkdir -p /usr/share/man/man1/ /usr/share/man/man3/ /usr/share/man/man7/ && \
|
|||
apt-transport-https gnupg openssl wget curl ca-certificates nginx supervisor sudo \
|
||||
unzip libzip-dev libxml2-dev libldb-dev libldap2-dev \
|
||||
sqlite3 libsqlite3-dev libsqlite3-0 libpq-dev postgresql-client mariadb-client logrotate \
|
||||
zip mlocate libmcrypt-dev libpcre3-dev libicu-dev \
|
||||
zip mlocate libpcre3-dev libicu-dev \
|
||||
build-essential chrpath libssl-dev \
|
||||
libxft-dev libfreetype6 libfreetype6-dev \
|
||||
libpng-dev libjpeg62-turbo-dev \
|
||||
|
|
Loading…
Reference in a new issue