Browse Source

Try to fix Dockerfile.

Lauri Ojansivu 6 years ago
parent
commit
46970ae424
1 changed files with 4 additions and 3 deletions
  1. 4 3
      Dockerfile

+ 4 - 3
Dockerfile

@@ -186,14 +186,15 @@ RUN \
     # Change user to wekan and install meteor
     # Change user to wekan and install meteor
     cd /home/wekan/ && \
     cd /home/wekan/ && \
     chown wekan --recursive /home/wekan && \
     chown wekan --recursive /home/wekan && \
-    curl "https://install.meteor.com" -o /home/wekan/install_meteor.sh && \
+    #curl "https://install.meteor.com" -o /home/wekan/install_meteor.sh && \
     #curl "https://install.meteor.com/?release=${METEOR_RELEASE}" -o /home/wekan/install_meteor.sh && \
     #curl "https://install.meteor.com/?release=${METEOR_RELEASE}" -o /home/wekan/install_meteor.sh && \
     # OLD: sed -i "s|RELEASE=.*|RELEASE=${METEOR_RELEASE}\"\"|g" ./install_meteor.sh && \
     # OLD: sed -i "s|RELEASE=.*|RELEASE=${METEOR_RELEASE}\"\"|g" ./install_meteor.sh && \
     # Install Meteor forcing its progress
     # Install Meteor forcing its progress
     #sed -i 's/VERBOSITY="--silent"/VERBOSITY="--progress-bar"/' ./install_meteor.sh && \
     #sed -i 's/VERBOSITY="--silent"/VERBOSITY="--progress-bar"/' ./install_meteor.sh && \
     echo "Starting meteor ${METEOR_RELEASE} installation...   \n" && \
     echo "Starting meteor ${METEOR_RELEASE} installation...   \n" && \
-    chown wekan /home/wekan/install_meteor.sh && \
-    gosu wekan:wekan sh /home/wekan/install_meteor.sh; \
+    gosu wekan:wekan curl https://install.meteor.com/ | /bin/sh && \
+    #chown wekan /home/wekan/install_meteor.sh && \
+    #gosu wekan:wekan sh /home/wekan/install_meteor.sh; \
     \
     \
     # Check if opting for a release candidate instead of major release
     # Check if opting for a release candidate instead of major release
     #if [ "$USE_EDGE" = false ]; then \
     #if [ "$USE_EDGE" = false ]; then \