diff --git a/README.md b/README.md index 3e723b7..eee6cf8 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,11 @@ Why did I make another image that is about Meteor? Well the simple answer is I couldn't find one that was simple, plain, and worked with my testing needs. The main branch of this docker image will be kept as up to date as I can. I plan on trying to find a way to have it when Meteor updates it builds for the new release. -The main branch will also be updated as I need to add specific packages to get things to work for me in my environment, please feel free to use the "base" version if you just want Debian and the basic Meteor install. +The main branch will also be updated as I need to add specific packages to get things to work for me in my environment, please feel free to use the "base" or "phantomBase" versions if you just want Debian and the basic Meteor install or Debian, PhantomJS 2 and the basic Meteor install respectively. What is in this image: - Debian:jessie - Meteor (1.3.4.1 as of this build) +- PhantomJS 2.1.1 -Note, to install NPM packages it is recommended to use "meteor npm install" and as such I have not incuded any other version of Node or NPM, this image is big enough as it is. Please preface any Node or NPM commands with "meteor" or you can install Node as a step in your build/testing process. -Luckily the Meteor tool is good at updating itself if it sees a differednt version in your .meteor folder, so nothing should break, but your tests might take a bit longer. +Note, to install NPM packages it is recommended to use "meteor npm install". Please preface any Node or NPM commands with "meteor". +Luckily the Meteor tool is good at updating itself if it sees a different version in your .meteor folder, so nothing should break, but your tests might take a bit longer until I trigger a rebuild. diff --git a/base/README.md b/base/README.md new file mode 100644 index 0000000..daafc97 --- /dev/null +++ b/base/README.md @@ -0,0 +1,10 @@ +Why did I make another image that is about Meteor? Well the simple answer is I couldn't find one that was simple, plain, and worked with my testing needs. +The main branch of this docker image will be kept as up to date as I can. I plan on trying to find a way to have it when Meteor updates it builds for the new release. +The main branch will also be updated as I need to add specific packages to get things to work for me in my environment, please feel free to use the "base" or "phantomBase" versions if you just want Debian and the basic Meteor install or Debian, PhantomJS 2 and the basic Meteor install respectively. + +What is in this image: +- Debian:jessie +- Meteor (1.3.4.1 as of this build) + +Note, to install NPM packages it is recommended to use "meteor npm install" and as such I have not incuded any other version of Node or NPM, this image is big enough as it is. Please preface any Node or NPM commands with "meteor" or you can install Node as a step in your build/testing process. +Luckily the Meteor tool is good at updating itself if it sees a differednt version in your .meteor folder, so nothing should break, but your tests might take a bit longer. diff --git a/phantomBase/Dockerfile b/phantomBase/Dockerfile new file mode 100644 index 0000000..6d54603 --- /dev/null +++ b/phantomBase/Dockerfile @@ -0,0 +1,26 @@ +FROM debian:jessie +MAINTAINER Steve Lambe <@firrae> + +ENV LANG C +ENV LC_ALL "C" + +RUN apt-get update && \ + apt-get install -y git curl wget libfontconfig bzip2 && \ + apt-get clean && \ + rm -Rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + +RUN curl -sL https://deb.nodesource.com/setup_4.x | bash - && \ + apt-get install -y nodejs + +RUN apt-get install -y libfreetype6 +RUN wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 +RUN tar -jxvf phantomjs-2.1.1-linux-x86_64.tar.bz2 +RUN install -t /usr/local/bin phantomjs-2.1.1-linux-x86_64/bin/phantomjs +RUN rm -rf phantomjs-2.1.1-linux-x86_64 +RUN rm phantomjs-2.1.1-linux-x86_64.tar.bz2 + +RUN curl https://install.meteor.com/ | sh + +RUN npm i -g spacejam + +CMD ["/bin/bash"] diff --git a/phantomBase/README.md b/phantomBase/README.md new file mode 100644 index 0000000..eee6cf8 --- /dev/null +++ b/phantomBase/README.md @@ -0,0 +1,11 @@ +Why did I make another image that is about Meteor? Well the simple answer is I couldn't find one that was simple, plain, and worked with my testing needs. +The main branch of this docker image will be kept as up to date as I can. I plan on trying to find a way to have it when Meteor updates it builds for the new release. +The main branch will also be updated as I need to add specific packages to get things to work for me in my environment, please feel free to use the "base" or "phantomBase" versions if you just want Debian and the basic Meteor install or Debian, PhantomJS 2 and the basic Meteor install respectively. + +What is in this image: +- Debian:jessie +- Meteor (1.3.4.1 as of this build) +- PhantomJS 2.1.1 + +Note, to install NPM packages it is recommended to use "meteor npm install". Please preface any Node or NPM commands with "meteor". +Luckily the Meteor tool is good at updating itself if it sees a different version in your .meteor folder, so nothing should break, but your tests might take a bit longer until I trigger a rebuild.