mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-17 13:58:19 +00:00
Update roundcubemail/Dockerfile, roundcubemail/apache2-foreground files
This commit is contained in:
@ -42,7 +42,7 @@ RUN curl -fL https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait
|
||||
COPY php.ini /usr/local/etc/php/conf.d/roundcube-defaults.ini
|
||||
|
||||
COPY docker-entrypoint.sh /
|
||||
|
||||
COPY apache2-foreground /usr/local/bin/
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["apache2-foreground"]
|
||||
|
||||
@ -51,14 +51,15 @@ VOLUME /var/roundcube/config
|
||||
VOLUME /var/roundcube/db
|
||||
VOLUME /var/www/html
|
||||
VOLUME /tmp/roundcube-temp
|
||||
|
||||
WORKDIR /var/www/html
|
||||
STOPSIGNAL SIGWINCH
|
||||
# Define Roundcubemail version
|
||||
ARG VERSION
|
||||
ENV ROUNDCUBEMAIL_VERSION $VERSION
|
||||
|
||||
# Download package and extract to web volume
|
||||
RUN set -ex; \
|
||||
chmod +x /docker-entrypoint.sh; \
|
||||
chmod +x /docker-entrypoint.sh /usr/local/bin/apache2-foreground; \
|
||||
curl -o roundcubemail.tar.gz -fSL https://github.com/roundcube/roundcubemail/releases/download/${ROUNDCUBEMAIL_VERSION}/roundcubemail-${ROUNDCUBEMAIL_VERSION}-complete.tar.gz; \
|
||||
curl -o roundcubemail.tar.gz.asc -fSL https://github.com/roundcube/roundcubemail/releases/download/${ROUNDCUBEMAIL_VERSION}/roundcubemail-${ROUNDCUBEMAIL_VERSION}-complete.tar.gz.asc; \
|
||||
export GNUPGHOME="$(mktemp -d)"; \
|
||||
|
Reference in New Issue
Block a user