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
Simon Cornet 83d652262e
All checks were successful
Build and Publish / Build (push) Successful in 1m5s
Build and Publish / Deployment (push) Successful in 22s
[docker] feat: add trick for complete rebuild
2024-10-10 10:27:32 +02:00

30 lines
792 B
Docker

# use latest roundcubemail container
FROM docker.io/roundcube/roundcubemail:1.6.9-apache
# build cache date argument trick
ARG GITEA_SHA=some_sha
RUN echo $GITEA_SHA
# 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 \
&& apt -y autoremove \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*
# install plugins using composer
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