Skip to content

Commit

Permalink
add docker images and update beaker-plugin dep
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuef committed Sep 12, 2016
1 parent 7998d37 commit f46bbe1
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
docker
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
node_modules*
*.log
.DS_Store
Thumbs.db
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Josh Wilson <[email protected]>",
"main": "background-process.build.js",
"dependencies": {
"beaker-plugin-safe": "0.0.3",
"beaker-plugin-safe": "0.0.4",
"co": "^4.6.0",
"electron-localshortcut": "^0.6.0",
"emit-stream": "^0.1.2",
Expand Down
28 changes: 28 additions & 0 deletions docker/14/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This is a comment
FROM ubuntu:14.04
MAINTAINER Josh Wilson <[email protected]>
# Replace shell with bash so we can source files
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
# make sure apt is up to date
RUN apt-get update --fix-missing
RUN apt-get install -y curl
RUN apt-get install -y build-essential libssl-dev


ENV NVM_DIR /usr/local/nvm
ENV NODE_VERSION 6.3.1
# RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.7/install.sh | bash
# RUN command -v nvm
# # RUN nvm install 6.3.1


# Install nvm with node and npm
RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.31.7/install.sh | bash \
&& source $NVM_DIR/nvm.sh \
&& nvm install $NODE_VERSION \
&& nvm alias default $NODE_VERSION \
&& nvm use default

ENV NODE_PATH $NVM_DIR/v$NODE_VERSION/lib/node_modules
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
File renamed without changes.

0 comments on commit f46bbe1

Please sign in to comment.