Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
discourse-cern
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
webservices
discourse-cern
Commits
e13352ad
Commit
e13352ad
authored
4 years ago
by
Ismael Posada Trobo
Browse files
Options
Downloads
Patches
Plain Diff
Group rm -rf /var/www/discourse into a single RUN command.
parent
5c5ce3a1
No related branches found
Branches containing commit
Tags
v2.6.0.beta1
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+3
-3
3 additions, 3 deletions
Dockerfile
with
3 additions
and
3 deletions
Dockerfile
+
3
−
3
View file @
e13352ad
...
...
@@ -42,15 +42,15 @@ RUN \
sed -i 's/^protected-mode yes/protected-mode no/' /etc/redis/redis.conf
### Discourse specific bits
# Remove upstream discourse installation, so we will pre-cook ours.
RUN
rm
-rf
/var/www/discourse
# Install modified version of Discourse
# we can override it with --build_arg
ARG
DISCOURSE_VERS='tests-passed'
ENV
DISCOURSE_RELEASE=$DISCOURSE_VERS RAILS_ROOT=/discourse HOME=/discourse
RUN
mkdir
-p
discourse
&&
\
# Remove upstream discourse installation, so we will pre-cook ours.
RUN
rm
-rf
/var/www/discourse
&&
\
mkdir
-p
discourse
&&
\
git clone
--single-branch
--branch
"
$DISCOURSE_RELEASE
"
https://github.com/discourse/discourse.git /discourse
### Discourse config
...
...
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