25 lines
673 B
Docker
25 lines
673 B
Docker
|
# use latest roundcubemail container
|
||
|
FROM roundcube/roundcubemail:latest
|
||
|
|
||
|
# prepare basic stuff
|
||
|
RUN set -e && ln -sf bash /bin/sh
|
||
|
RUN set -e \
|
||
|
&& apt -y update \
|
||
|
&& apt -y upgrade \
|
||
|
&& apt -y install --no-install-recommends --no-install-suggests ca-certificates git wget \
|
||
|
&& apt -y autoremove \
|
||
|
&& apt clean \
|
||
|
&& rm -rf /var/lib/apt/lists/*
|
||
|
|
||
|
# install plugins using composer
|
||
|
RUN set -e \
|
||
|
composer \
|
||
|
--working-dir=/usr/src/roundcubemail/ \
|
||
|
--prefer-dist \
|
||
|
--prefer-stable \
|
||
|
--update-no-dev \
|
||
|
--no-interaction \
|
||
|
--optimize-autoloader \
|
||
|
require \
|
||
|
johndoh/contextmenu
|