Skip to content

Commit

Permalink
update eletrron builder and create docker file for linux builds
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuef committed Sep 8, 2016
1 parent 77025e2 commit 7998d37
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This is a comment
FROM ubuntu:16.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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"asar": "^0.11.0",
"browserify": "^13.0.1",
"chai": "^3.5.0",
"electron-builder": "~5.30.0",
"electron-builder": "6.5.2",
"electron": "1.3.3",
"fs-jetpack": "^0.9.0",
"gulp": "^3.9.0",
Expand Down

0 comments on commit 7998d37

Please sign in to comment.