From 628d4aceb294efe746f2a74927f7a32e974a0afc Mon Sep 17 00:00:00 2001 From: Nicole O'Connor Date: Tue, 12 Aug 2025 17:37:41 -0700 Subject: [PATCH] the change --- Dockerfile | 2 ++ README.md | 6 ++++++ mantis-entrypoint | 2 ++ 3 files changed, 10 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4b72fce..3721b06 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,6 +51,8 @@ RUN set -xe && \ cp -r /tmp/source/Source /tmp/source/SourceGitlab /tmp/source/SourceGithub /var/www/html/plugins/ && \ rm -r /tmp/source +RUN mkdir -p /var/www/html/extra_plugins + COPY ./mantis-entrypoint /usr/local/bin/mantis-entrypoint CMD ["mantis-entrypoint"] diff --git a/README.md b/README.md index c0f9db9..43a821d 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/mantis-entrypoint b/mantis-entrypoint index 2d536f3..be0e525 100755 --- a/mantis-entrypoint +++ b/mantis-entrypoint @@ -9,4 +9,6 @@ if [ ! -z "$MANTIS_ENABLE_ADMIN" ] && [ "$MANTIS_ENABLE_ADMIN" -ne "0" ]; then test -d .admin && mv .admin admin && chmod +rx admin fi +cp -rv extra_plugins/* plugins + apache2-foreground