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
ebfdbbcb
Commit
ebfdbbcb
authored
5 years ago
by
Ismael Posada Trobo
Browse files
Options
Downloads
Patches
Plain Diff
Dockerfile for v2.2.1
parent
1633202f
No related branches found
Tags
v2.2.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+11
-11
11 additions, 11 deletions
Dockerfile
with
11 additions
and
11 deletions
Dockerfile
+
11
−
11
View file @
ebfdbbcb
...
@@ -76,7 +76,7 @@ RUN chmod +x /tmp/install-pngquant && /tmp/install-pngquant
...
@@ -76,7 +76,7 @@ RUN chmod +x /tmp/install-pngquant && /tmp/install-pngquant
### Discourse specific bits
### Discourse specific bits
# - So we can overrride it with --build_arg
# - So we can overrride it with --build_arg
ARG
DISCOURSE_VERS='v2.2.
0
'
ARG
DISCOURSE_VERS='v2.2.
1
'
ENV
DISCOURSE_RELEASE=$DISCOURSE_VERS RAILS_ROOT=/discourse HOME=/discourse
ENV
DISCOURSE_RELEASE=$DISCOURSE_VERS RAILS_ROOT=/discourse HOME=/discourse
RUN
mkdir
-p
discourse
&&
\
RUN
mkdir
-p
discourse
&&
\
...
@@ -89,20 +89,20 @@ WORKDIR $HOME
...
@@ -89,20 +89,20 @@ WORKDIR $HOME
# - OAuth
# - OAuth
RUN
git clone https://github.com/discourse/discourse-oauth2-basic.git /discourse/plugins/discourse-oauth2-basic
&&
\
RUN
git clone https://github.com/discourse/discourse-oauth2-basic.git /discourse/plugins/discourse-oauth2-basic
&&
\
cd
/discourse/plugins/discourse-oauth2-basic
&&
\
cd
/discourse/plugins/discourse-oauth2-basic
&&
\
git checkout
656081fbcd895eda206a02c81689144061c524d9
&&
\
git checkout
46da0c9df400cbdf29b430614e8c257ebab5f096
&&
\
cd
$HOME
cd
$HOME
# - Chat Integration
# - Chat Integration
#RUN git clone --depth=1 https://github.com/discourse/discourse-chat-integration.git /discourse/plugins/discourse-chat-integration
#RUN git clone --depth=1 https://github.com/discourse/discourse-chat-integration.git /discourse/plugins/discourse-chat-integration
RUN
git clone https://github.com/discourse/discourse-chat-integration.git /discourse/plugins/discourse-chat-integration
&&
\
RUN
git clone https://github.com/discourse/discourse-chat-integration.git /discourse/plugins/discourse-chat-integration
&&
\
cd
/discourse/plugins/discourse-chat-integration
&&
\
cd
/discourse/plugins/discourse-chat-integration
&&
\
git checkout
5beaa359b78fcd5153bcea13c0bf4e1b68a929d6
&&
\
git checkout
b674247fc01588f9d53794bb27e6679273ccfd4e
&&
\
cd
$HOME
cd
$HOME
# - Discourse Solved
# - Discourse Solved
RUN
git clone https://github.com/discourse/discourse-solved.git /discourse/plugins/discourse-solved
&&
\
RUN
git clone https://github.com/discourse/discourse-solved.git /discourse/plugins/discourse-solved
&&
\
cd
/discourse/plugins/discourse-solved
&&
\
cd
/discourse/plugins/discourse-solved
&&
\
git checkout
d9ad32b5fa47ce625bc2e89ea11ee6540ec483a
8
&&
\
git checkout
93c08c8d71bda8e95cb56f93bf740d984b4239b
8
&&
\
cd
$HOME
cd
$HOME
# - Trade buttons (used on Marketplace)
# - Trade buttons (used on Marketplace)
...
@@ -111,31 +111,31 @@ RUN git clone --depth=1 https://github.com/jannolii/discourse-topic-trade-button
...
@@ -111,31 +111,31 @@ RUN git clone --depth=1 https://github.com/jannolii/discourse-topic-trade-button
# - Saved Searches
# - Saved Searches
RUN
git clone https://github.com/discourse/discourse-saved-searches.git /discourse/plugins/discourse-saved-searches
&&
\
RUN
git clone https://github.com/discourse/discourse-saved-searches.git /discourse/plugins/discourse-saved-searches
&&
\
cd
/discourse/plugins/discourse-saved-searches
&&
\
cd
/discourse/plugins/discourse-saved-searches
&&
\
git checkout
f07453a82b580c6481e72dac1491db21cb07a43
8
&&
\
git checkout
cb4f505c18f6b21f1d352b607cfdec40c04cd59
8
&&
\
cd
$HOME
cd
$HOME
# - Migrate Password
# - Migrate Password
RUN
git clone https://github.com/discoursehosting/discourse-migratepassword.git /discourse/plugins/discourse-migratepassword
&&
\
RUN
git clone https://github.com/discoursehosting/discourse-migratepassword.git /discourse/plugins/discourse-migratepassword
&&
\
cd
/discourse/plugins/discourse-migratepassword
&&
\
cd
/discourse/plugins/discourse-migratepassword
&&
\
git checkout
7839f532f7fbd27919cbb99d0c04d169e98f01ac
&&
\
git checkout
614d8192a4ee528f754bab00c152537965cf5185
&&
\
cd
$HOME
cd
$HOME
# - Discourse Math
# - Discourse Math
RUN
git clone https://github.com/discourse/discourse-math.git /discourse/plugins/discourse-math
&&
\
RUN
git clone https://github.com/discourse/discourse-math.git /discourse/plugins/discourse-math
&&
\
cd
/discourse/plugins/discourse-math
&&
\
cd
/discourse/plugins/discourse-math
&&
\
git checkout
1f738e9fafff7c9f5d503083a65bef8fc9b56842
&&
\
git checkout
41341b552c8247fbd33ec56946536e3bf03dd466
&&
\
cd
$HOME
cd
$HOME
# - Discourse Askimet
# - Discourse Askimet
RUN
git clone https://github.com/discourse/discourse-akismet.git /discourse/plugins/discourse-akismet
&&
\
RUN
git clone https://github.com/discourse/discourse-akismet.git /discourse/plugins/discourse-akismet
&&
\
cd
/discourse/plugins/discourse-akismet
&&
\
cd
/discourse/plugins/discourse-akismet
&&
\
git checkout
ac5ba713f94f5155b0189e4a1daa590526baff9d
&&
\
git checkout
c457c4c724b83b851ff44e0a6660821453afeb60
&&
\
cd
$HOME
cd
$HOME
# - Canned replies
# - Canned replies
RUN
git clone https://github.com/discourse/discourse-canned-replies.git /discourse/plugins/discourse-canned-replies
&&
\
RUN
git clone https://github.com/discourse/discourse-canned-replies.git /discourse/plugins/discourse-canned-replies
&&
\
cd
/discourse/plugins/discourse-canned-replies
&&
\
cd
/discourse/plugins/discourse-canned-replies
&&
\
git checkout
1101fd2f38cc20c8068d7d524be7280124c31278
&&
\
git checkout
598720c440d9aec14bfbbfbc932d78213664fd65
&&
\
cd
$HOME
cd
$HOME
# - Discourse JIRA
# - Discourse JIRA
...
@@ -144,11 +144,11 @@ RUN git clone --depth=1 https://github.com/karies/discourse-jira.git /discourse/
...
@@ -144,11 +144,11 @@ RUN git clone --depth=1 https://github.com/karies/discourse-jira.git /discourse/
# - Prometheus
# - Prometheus
RUN
git clone https://github.com/discourse/discourse-prometheus.git /discourse/plugins/discourse-prometheus
&&
\
RUN
git clone https://github.com/discourse/discourse-prometheus.git /discourse/plugins/discourse-prometheus
&&
\
cd
/discourse/plugins/discourse-prometheus
&&
\
cd
/discourse/plugins/discourse-prometheus
&&
\
git checkout
a0b9f03f24eb8b2b195e9189dddc0e92b89b5c23
&&
\
git checkout
6560dd4e97b92c0943289fad59849cc809d2e977
&&
\
cd
$HOME
cd
$HOME
### Gem installation
### Gem installation
RUN
exec
bundle
install
--deployment
--
jobs
4
--without
development
:test
&&
\
RUN
exec
bundle
install
--deployment
--
without
test
--without
development
&&
\
exec
bundle
exec
rake maxminddb:get
&&
\
exec
bundle
exec
rake maxminddb:get
&&
\
exec
bundle clean
-V
exec
bundle clean
-V
...
...
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