Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
discourse
Manage
Activity
Members
Labels
Plan
Issues
9
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
libre.sh
docker
discourse
Commits
dd11d72b
Commit
dd11d72b
authored
8 years ago
by
Michał 'rysiek' Woźniak
Browse files
Options
Downloads
Patches
Plain Diff
support for DISCOURSE_ADDITIONAL_GEMS added
parent
247f1820
No related branches found
No related tags found
1 merge request
!6
Support for DISCOURSE_ADDITIONAL_GEMS
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+9
-0
9 additions, 0 deletions
Dockerfile
with
9 additions
and
0 deletions
Dockerfile
+
9
−
0
View file @
dd11d72b
...
...
@@ -47,6 +47,15 @@ RUN git clone --branch v${DISCOURSE_VERSION} https://github.com/discourse/discou
&&
bundle config build.nokogiri
--use-system-libraries
\
&&
bundle
install
--deployment
--without
test
--without
development
# install additional gems
#
# this expects a space-separated list of gem names
ARG
DISCOURSE_ADDITIONAL_GEMS=
RUN if
[
"
$DISCOURSE_ADDITIONAL_GEMS
"
!=
""
]
;
then
\
for
GEM_NAME
in
$DISCOURSE_ADDITIONAL_GEMS
;
do
\
bundle
exec
gem
install
"
$GEM_NAME
"
;
\
done
;
\
fi
# install discourse plugins
# assumptions: no spaces in URLs (urlencoding is a thing)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment