mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-10-01 17:34:37 +08:00
Merge pull request #390 from kouinkouin/docker-upgrade-base
Docker upgrade base image
This commit is contained in:
commit
49d006b9b1
2 changed files with 7 additions and 2 deletions
|
@ -1,7 +1,11 @@
|
||||||
# Inspired by the original Rainloop dockerfile from youtous on GitLab
|
# Inspired by the original Rainloop dockerfile from youtous on GitLab
|
||||||
FROM php:7.4-fpm-buster
|
FROM php:8.1-fpm-bullseye
|
||||||
|
|
||||||
ARG FILES_ZIP
|
ARG FILES_ZIP
|
||||||
|
|
||||||
|
# can be x86_64 or aarch64
|
||||||
|
ARG ARCH=x86_64
|
||||||
|
|
||||||
LABEL org.label-schema.description="SnappyMail webmail client image using nginx, php-fpm based on Debian Buster"
|
LABEL org.label-schema.description="SnappyMail webmail client image using nginx, php-fpm based on Debian Buster"
|
||||||
|
|
||||||
ENV UID=991 GID=991 UPLOAD_MAX_SIZE=25M LOG_TO_STDERR=true MEMORY_LIMIT=128M SECURE_COOKIES=true
|
ENV UID=991 GID=991 UPLOAD_MAX_SIZE=25M LOG_TO_STDERR=true MEMORY_LIMIT=128M SECURE_COOKIES=true
|
||||||
|
@ -25,7 +29,7 @@ RUN mkdir -p /usr/share/man/man1/ /usr/share/man/man3/ /usr/share/man/man7/ && \
|
||||||
|
|
||||||
# Install PHP extensions
|
# Install PHP extensions
|
||||||
RUN php -m && \
|
RUN php -m && \
|
||||||
docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ && \
|
docker-php-ext-configure ldap --with-libdir=lib/$ARCH-linux-gnu/ && \
|
||||||
docker-php-ext-configure intl && \
|
docker-php-ext-configure intl && \
|
||||||
docker-php-ext-configure gd --with-freetype --with-jpeg && \
|
docker-php-ext-configure gd --with-freetype --with-jpeg && \
|
||||||
docker-php-ext-install ldap opcache pdo_mysql pdo_pgsql zip intl gd && \
|
docker-php-ext-install ldap opcache pdo_mysql pdo_pgsql zip intl gd && \
|
||||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -12,6 +12,7 @@
|
||||||
/.docker/dev/mail/config
|
/.docker/dev/mail/config
|
||||||
/.docker/dev/nginx/ssl/*
|
/.docker/dev/nginx/ssl/*
|
||||||
!/.docker/dev/nginx/ssl/.gitempty
|
!/.docker/dev/nginx/ssl/.gitempty
|
||||||
|
/.docker/release/snappymail-*.zip
|
||||||
/dist
|
/dist
|
||||||
/data
|
/data
|
||||||
/MULTIPLY
|
/MULTIPLY
|
||||||
|
|
Loading…
Add table
Reference in a new issue