Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Commit

Permalink
INITIAL COMMIT
Browse files Browse the repository at this point in the history
  • Loading branch information
jansenignacio committed Apr 19, 2018
0 parents commit 2ad2a99
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM node:8.10-slim

ADD . .
#install build essentials
RUN ./dockerbuild.sh
23 changes: 23 additions & 0 deletions dockerbuild.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash

set -o errexit
set -o pipefail
set -o nounset
# set -o xtrace

# install dependencies
apt-get update
apt-get install -y --allow-unauthenticated \
build-essential \
python2.7 \
ca-certificates \
libssl-dev \
git

# set python ENVs
alias python=/usr/bin/python2.7
npm config set python /usr/bin/python2.7

# cleanup
apt-get autoremove
rm -rf /var/lib/apt/lists/*

0 comments on commit 2ad2a99

Please sign in to comment.