OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Use previous way to bundle to allow plugins
Oliver Güntherfdd4ade35587
diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfileindex dfa4e8f7b77..7f54e2d1ff1 100644--- a/docker/prod/Dockerfile+++ b/docker/prod/Dockerfile@@ -53,9 +53,24 @@ RUN ./docker/prod/setup/preinstall-common.sh# stuff required for gemsCOPY Gemfile Gemfile.* .ruby-version ./COPY modules ./modules-RUN bundle install+# some gemspec files of plugins require files in there, notably OpenProject::Version+COPY lib ./lib++RUN \+ bundle config set --local path 'vendor/bundle' && \+ bundle config set --local without 'test development' && \+ bundle install --quiet --no-cache --jobs=8 --retry=3 && \+ bundle config set deployment 'true' && \+ cp Gemfile.lock Gemfile.lock.bak && \+ rm -rf vendor/bundle/ruby/*/cache && \+ rm -rf vendor/bundle/ruby/*/gems/*/spec && \+ rm -rf vendor/bundle/ruby/*/gems/*/testCOPY . .++# Copy lock file again as the updated version was overriden by COPY just now+RUN cp Gemfile.lock.bak Gemfile.lock && rm Gemfile.lock.bak+RUN ./docker/prod/setup/precompile-assets.shRUN ./docker/prod/setup/postinstall-common.sh