@@ -4,8 +4,6 @@ ARG CI_DEPLOY_TOKEN
44ARG VANILLA_VERSION=3.3
55ARG ENV
66
7- # Environment Variables
8- ENV TIDEWAYS_SERVICE vanilla
97ENV WEB_DOCUMENT_ROOT /vanillapp
108
119# Get the latest release of Vanilla Forums
@@ -22,24 +20,24 @@ RUN git clone https://github.com/topcoder-platform/forums-plugins.git /tmp/forum
2220# Remove DebugPlugin from PROD env
2321# RUN if [ "$ENV" = "prod" ]; \
2422# then rm -R /tmp/forums-plugins/DebugPlugin; \
25- # fi
23+ # fi
2624
2725# Copy the Filestack plugin
2826RUN git clone https://${CI_DEPLOY_TOKEN}@github.com/topcoder-platform/forums-filestack-plugin /tmp/forums-plugins/Filestack
2927
30- # Copy the Groups plugin
28+ # Copy the Groups plugin
3129RUN git clone https://${CI_DEPLOY_TOKEN}@github.com/topcoder-platform/forums-groups-plugin /tmp/forums-plugins/Groups
3230
33- # Copy the SumoLogic plugin
31+ # Copy the SumoLogic plugin
3432RUN git clone https://${CI_DEPLOY_TOKEN}@github.com/topcoder-platform/forums-sumologic-plugin /tmp/forums-plugins/Sumologic
3533
36- # Copy the TopcoderEditor plugin
34+ # Copy the TopcoderEditor plugin
3735RUN git clone https://${CI_DEPLOY_TOKEN}@github.com/topcoder-platform/forums-topcoder-editor-plugin /tmp/forums-plugins/TopcoderEditor
3836
3937# Copy all plugins to the Vanilla plugins folder
4038RUN cp -r /tmp/forums-plugins/. /vanillapp/plugins
4139
42- # Get the debug bar plugin
40+ # Get the debug bar plugin
4341RUN wget https://us.v-cdn.net/5018160/uploads/addons/KSBIPJYMC0F2.zip
4442RUN unzip KSBIPJYMC0F2.zip
4543RUN cp -r debugbar /vanillapp/plugins
@@ -61,17 +59,3 @@ RUN chown application:application /vanillapp/conf/config.php
6159RUN chmod ug=rwx,o=rx /vanillapp/conf/config.php
6260# Clone the forum-theme repository
6361RUN git clone 'https://github.com/topcoder-platform/forums-theme.git' /vanillapp/themes/topcoder
64-
65- # Tideways
66- RUN apt-get update && apt-get install -y gnupg2
67- RUN echo 'deb https://packages.tideways.com/apt-packages debian main' > /etc/apt/sources.list.d/tideways.list && \
68- curl -L -sS 'https://packages.tideways.com/key.gpg' | apt-key add - && \
69- apt-get update && \
70- DEBIAN_FRONTEND=noninteractive apt-get -yq install tideways-php && \
71- apt-get autoremove --assume-yes && \
72- apt-get clean && \
73- rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
74-
75- # For customization a placeholder /opt/docker/etc/php/php.ini is available which will be loaded as last configuration file.
76- # All settings can be overwritten in this ini file
77- RUN echo 'extension=tideways.so\n tideways.connection=tcp://tideways-daemon:9135\n tideways.enable_cli=0\n ' >> opt/docker/etc/php/php.ini
0 commit comments