Public Repository

Last pushed: 4 months ago
Short Description
Image for ngbp boilerplate that runs on ubuntu with node/npm installed and google cloud SDK v127.0.0
Full Description

DockerFile

FROM python:2.7

RUN apt-get -y install curl git-core

RUN apt-get -qq update
RUN apt-get install -y npm

RUN npm --version
RUN npm cache clean -f
RUN npm install -g n
RUN n stable

RUN npm -g install grunt-cli karma bower --save-dev

RUN cd ~/
RUN chmod 777 ~/
ENV CLOUDSDK_CORE_DISABLE_PROMPTS=1
RUN curl -O -J https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-127.0.0-linux-x86_64.tar.gz
RUN tar -zxvf google-cloud-sdk-127.0.0-linux-x86_64.tar.gz --directory ${HOME}
ENV PATH=${PATH}:/root/google-cloud-sdk/bin

ENV GAE_PYTHONPATH=/root/google_appengine
ENV PYTHONPATH=${PYTHONPATH}:${GAE_PYTHONPATH}
ADD lib/fetch_gae.py /fetch_gae.py
RUN python /fetch_gae.py $(dirname "${GAE_PYTHONPATH}")
RUN echo "${PYTHONPATH}" && ls ${GAE_PYTHONPATH}

ENV NODE_PATH=/node_modules
ADD package.json /package.json
RUN npm install
RUN apt-get install -y nano

package.json

{
"author": "Sugar Ray Tenorio",
"name": "angular-gae-boilerplate",
"description": "angular gae boilerplate",
"version": "1.0.1",
"homepage": "",
"licenses": {
"type": "MIT",
"url": ""
},
"bugs": "",
"repository": {
"type": "git",
"url": "https://bitbucket.org/cloudsherpas/angular-gae-boilerplate"
},
"dependencies": {},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-bump": "0.0.6",
"grunt-coffeelint": "~0.0.10",
"grunt-contrib-clean": "^0.4.1",
"grunt-contrib-coffee": "^0.7.0",
"grunt-contrib-concat": "^0.3.0",
"grunt-contrib-copy": "^0.4.1",
"grunt-contrib-jshint": "^0.4.3",
"grunt-contrib-less": "~0.11.0",
"grunt-contrib-uglify": "^0.2.7",
"grunt-contrib-watch": "^0.4.4",
"grunt-conventional-changelog": "^0.1.2",
"grunt-html2js": "^0.1.9",
"grunt-karma": "^0.8.2",
"grunt-ng-annotate": "3.0.0",
"karma": "^0.12.9",
"karma-coffee-preprocessor": "^0.2.1",
"karma-firefox-launcher": "^0.1.3",
"karma-jasmine": "^0.1.5",
"express": "~4.15.2",
"karma-chrome-launcher": "2.0.0",
"jasmine-core": "latest"
}
}

Docker Pull Command
Owner
phucat