Skip to content
Snippets Groups Projects
Commit ebfdbbcb authored by Ismael Posada Trobo's avatar Ismael Posada Trobo
Browse files

Dockerfile for v2.2.1

parent 1633202f
No related branches found
Tags v2.2.1
No related merge requests found
...@@ -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 d9ad32b5fa47ce625bc2e89ea11ee6540ec483a8 && \ git checkout 93c08c8d71bda8e95cb56f93bf740d984b4239b8 && \
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 f07453a82b580c6481e72dac1491db21cb07a438 && \ git checkout cb4f505c18f6b21f1d352b607cfdec40c04cd598 && \
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment