KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
Node.js
★ 23
Open GitHub ↗
Nano Node.js with npm Docker image.
Download README (.md)
Explore Similar Repositories
BT-Test
:
Test project for BT framework
Spider_SinaTweetCrawler_java
:
Spider_SinaTweetCrawler, to crawl tweet content from sinaTweet. (java)
nestedset-php
:
Using Nested Sets Pattern to Model Tree Structure in PHP
mega6502
:
An Apple One replica with an Arduino Mega 2560
Pronama-chanIDE2013
:
No description available.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
Node.js
?
Download (.md)
Nano Node.js with npm ===================== [![Build status][Build image]][Build] This is a [Docker](http://docker.com) container for [Buildroot](http://buildroot.uclibc.org) for building a root file system (rootfs) containing [Node.js](http://nodejs.org) with [npm](http://npmjs.org). Assets for building the final image using the rootfs are placed in the *product* directory. Building -------- To build the rootfs follow these steps. 1. `./nano build image` – Build the Docker image locally. 2. `./nano run` – Removes any previous container started by this script and runs a new interactive container. 3. `buildroot-configure` – Configure Buildroot to install desired packages. 4. `buildroot` – Build new rootfs. 5. [Ctrl]+[D] – Exit container. 6. `./nano pull rootfs` – Copies the compressed rootfs tarball from the container to the *product* directory. Creating a Docker image ----------------------- 1. `docker build -t nano/node.js product` Travis CI --------- [Travis](https://travis-ci.org) automatically [builds][Build] the rootfs when this repository is updated and commits the output to a copy of the *product* directory. The result is pushed to a different branch of the same name but with a *product* prefix, e.g. [product/master][Product branch]. This triggers Docker Hub to build the final image at [nano/node.js][Docker Hub repo]. Travis does not support Docker yet so the entire Buildroot environment has to be replicated using `.travis.bash`. This also means Travis can only test the rootfs and not the resulting Docker image. [Build]: http://travis-ci.org/Docker-nano/Node.js [Build image]: http://img.shields.io/travis/Docker-nano/Node.js.svg "Build status" [Product branch]: https://github.com/Docker-nano/Node.js/tree/product/master [Docker Hub repo]: https://registry.hub.docker.com/u/nano/node.js/