This repository has been archived on 2024-10-10. You can view files and clone it, but cannot push or open issues or pull requests.
roundcube/Dockerfile.linux.amd64

30 lines
792 B
Docker
Raw Normal View History

2023-07-03 10:34:26 +02:00
# use latest roundcubemail container
FROM docker.io/roundcube/roundcubemail:1.6.9-apache
2023-07-03 10:34:26 +02:00
# build cache date argument trick
ARG GITEA_SHA=some_sha
RUN echo $GITEA_SHA
2023-07-03 10:34:26 +02:00
# prepare basic stuff
RUN set -e && ln -sf bash /bin/sh
RUN set -e \
&& apt -y update \
&& apt -y upgrade \
2023-07-03 11:31:00 +02:00
&& apt -y install --no-install-recommends --no-install-suggests ca-certificates git \
2023-07-03 10:34:26 +02:00
&& apt -y autoremove \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*
# install plugins using composer
2023-07-03 11:31:00 +02:00
RUN set -e \
&& /usr/bin/composer \
--working-dir=/usr/src/roundcubemail/ \
--prefer-dist \
--prefer-stable \
--update-no-dev \
--no-interaction \
--optimize-autoloader \
--quiet \
require \
johndoh/contextmenu