the change
Some checks are pending
CI / pre-commit (push) Waiting to run
CI / lint (push) Waiting to run
CI / build (push) Waiting to run

This commit is contained in:
Nicole O'Connor 2025-08-12 17:37:41 -07:00
parent 29ff05af47
commit 628d4aceb2
3 changed files with 10 additions and 0 deletions

View File

@ -51,6 +51,8 @@ RUN set -xe && \
cp -r /tmp/source/Source /tmp/source/SourceGitlab /tmp/source/SourceGithub /var/www/html/plugins/ && \ cp -r /tmp/source/Source /tmp/source/SourceGitlab /tmp/source/SourceGithub /var/www/html/plugins/ && \
rm -r /tmp/source rm -r /tmp/source
RUN mkdir -p /var/www/html/extra_plugins
COPY ./mantis-entrypoint /usr/local/bin/mantis-entrypoint COPY ./mantis-entrypoint /usr/local/bin/mantis-entrypoint
CMD ["mantis-entrypoint"] CMD ["mantis-entrypoint"]

View File

@ -1,3 +1,9 @@
# Who are you and what's the difference?
All I did was add an `extra_plugins` directory for bindmount purposes, that copies itself into the `plugins` directory.
Original readme follows.
---
[![CI](https://github.com/okainov/mantisbt-docker/workflows/CI/badge.svg?branch=master)](https://github.com/okainov/mantisbt-docker/actions) [![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/okainov/mantisbt)](https://hub.docker.com/r/okainov/mantisbt) [![Docker Pulls](https://img.shields.io/docker/pulls/okainov/mantisbt)](https://hub.docker.com/r/okainov/mantisbt) [![CI](https://github.com/okainov/mantisbt-docker/workflows/CI/badge.svg?branch=master)](https://github.com/okainov/mantisbt-docker/actions) [![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/okainov/mantisbt)](https://hub.docker.com/r/okainov/mantisbt) [![Docker Pulls](https://img.shields.io/docker/pulls/okainov/mantisbt)](https://hub.docker.com/r/okainov/mantisbt)

View File

@ -9,4 +9,6 @@ if [ ! -z "$MANTIS_ENABLE_ADMIN" ] && [ "$MANTIS_ENABLE_ADMIN" -ne "0" ]; then
test -d .admin && mv .admin admin && chmod +rx admin test -d .admin && mv .admin admin && chmod +rx admin
fi fi
cp -rv extra_plugins/* plugins
apache2-foreground apache2-foreground