-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: fenn-cs <[email protected]>
- Loading branch information
Showing
2 changed files
with
14 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
|
||
FROM debian:buster-slim | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL maintainer="Michiel Dethmers <[email protected]>" | ||
|
||
RUN apt-get update && apt-get upgrade -y | ||
|
||
RUN apt-get install -y apt-utils \ | ||
vim apache2 net-tools php-mysql \ | ||
libapache2-mod-php php-curl php-gd \ | ||
git cron php-imap php-xml php-zip php-mbstring | ||
|
||
RUN apt -y install lsb-release apt-transport-https ca-certificates | ||
RUN apt-get install -y apt-utils vim apache2 net-tools git cron wget | ||
RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg | ||
RUN echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php.list | ||
RUN apt update | ||
|
||
RUN apt-get install -y php7.4 php7.4 php7.4-fpm \ | ||
php7.4-common php7.4-mysql php7.4-zip php7.4-gd \ | ||
php7.4-mbstring php7.4-curl php7.4-sqlite3 php7.4-json \ | ||
php7.4-bcmath php7.4-xml php7.4-intl php7.4-imap php-common \ | ||
libapache2-mod-php | ||
|
||
RUN rm -f /etc/apache2/sites-enabled/000-default.conf && \ | ||
cd /var/www/ && find . -type d -name .git -print0 | xargs -0 rm -rf && \ | ||
find . -type d -print0 | xargs -0 chmod 755 && \ | ||
|
@@ -30,7 +36,6 @@ RUN echo VERSION=${VERSION} | |
RUN rm -rf /var/www/phpList3 && mkdir /var/www/phpList3 | ||
RUN rm -rf /etc/phpList3 && mkdir /etc/phpList3 | ||
|
||
COPY phplist-${VERSION}/ /var/www/phpList3 | ||
COPY docker-phplist-config-live.php /var/www/phpList3/config.php | ||
|
||
RUN mkdir -p /var/www/phpList3/public_html/images && \ | ||
|