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
daf38dc8
Commit
daf38dc8
authored
8 years ago
by
Michał 'rysiek' Woźniak
Browse files
Options
Downloads
Patches
Plain Diff
support for DISCOURSE_ADDITIONAL_GEMS: bugfix
parent
bdec532e
No related branches found
Branches containing commit
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
+3
-4
3 additions, 4 deletions
Dockerfile
with
3 additions
and
4 deletions
Dockerfile
+
3
−
4
View file @
daf38dc8
...
...
@@ -51,11 +51,10 @@ RUN git clone --branch v${DISCOURSE_VERSION} https://github.com/discourse/discou
# this expects a space-separated list of gem names
ARG
DISCOURSE_ADDITIONAL_GEMS=
RUN if
[
"
$DISCOURSE_ADDITIONAL_GEMS
"
!=
""
]
;
then
\
echo
>>
Gemfile
\
echo
'### DISCOURSE_ADDITIONAL_GEMS'
>>
Gemfile
\
echo
>>
Gemfile
;
\
echo
'### DISCOURSE_ADDITIONAL_GEMS'
>>
Gemfile
;
\
for
GEM_NAME
in
$DISCOURSE_ADDITIONAL_GEMS
;
do
\
# add the gem to the Gemfile
echo "gem \"$GEM_NAME\"" >> Gemfile; \
echo
"gem
\"
$GEM_NAME
\"
"
>>
Gemfile
;
\
done
;
\
fi
...
...
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