This repository has been archived by the owner on Nov 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #507 from mozilla/fix-dockerfile
Fix dockerfile
- Loading branch information
Showing
3 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,7 @@ FROM centos:7 | |
MAINTAINER [email protected] | ||
|
||
ENV NODE_VERSION 4.7.0 | ||
ENV METEOR_VERSION 1.4.0.1 | ||
ENV METEOR_FILE_VERSION 1.4.0-1 | ||
ENV METEOR_VERSION 1.4.4.2 | ||
ENV PYTHON_VERSION 2.7.11 | ||
ENV KIBANA_VERSION 4.6.5 | ||
ENV ES_VERSION 2.4.6 | ||
|
@@ -53,7 +52,7 @@ RUN \ | |
yum install -y nginx && \ | ||
mkdir /var/log/mozdef/ && \ | ||
curl -s -L https://download.elastic.co/kibana/kibana/kibana-$KIBANA_VERSION-linux-x86_64.tar.gz | tar -C /opt/mozdef/ -xz && \ | ||
mv /opt/mozdef/kibana-$KIBANA_VERSION-linux-x64 /opt/mozdef/envs/kibana && \ | ||
mv /opt/mozdef/kibana-$KIBANA_VERSION-linux-x86_64 /opt/mozdef/envs/kibana && \ | ||
yum install -y mongodb-org && \ | ||
curl -s -L https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tgz | tar -C /opt/mozdef/ -xz && \ | ||
cd /opt/mozdef/Python-$PYTHON_VERSION && \ | ||
|
@@ -82,9 +81,11 @@ RUN \ | |
tar -xzf /opt/mozdef/meteor.tar.gz -C /opt/mozdef/meteor && \ | ||
mv /opt/mozdef/meteor/.meteor /opt/mozdef && \ | ||
rm -r /opt/mozdef/meteor && \ | ||
cp /opt/mozdef/.meteor/packages/meteor-tool/$METEOR_FILE_VERSION/mt-os.linux.x86_64/scripts/admin/launch-meteor /usr/bin/meteor | ||
cp /opt/mozdef/.meteor/packages/meteor-tool/*/mt-os.linux.x86_64/scripts/admin/launch-meteor /usr/bin/meteor | ||
|
||
USER mozdef | ||
COPY meteor /opt/mozdef/envs/mozdef/meteor | ||
USER root | ||
RUN chown -R mozdef:mozdef /opt/mozdef/envs/mozdef/meteor | ||
USER mozdef | ||
RUN \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ MAINTAINER [email protected] | |
#updated meteor version to avoid EXDEV: cross-device link not permitted errors | ||
ENV NODE_VERSION 4.7.0 | ||
ENV METEOR_VERSION 1.4.4.2 | ||
ENV METEOR_FILE_VERSION 1.4.4-1 | ||
|
||
ENV MONGO_URL=mongodb://mongodb:3002/meteor | ||
ENV ROOT_URL=http://localhost | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters