Public Repository

Last pushed: 2 years ago
Short Description
node.js image for drone.io continuous integration
Full Description

An image for running continuous integration tests for nodejs applications using drone.io.

The image was built using the below docker file:

# Pull from base Ubuntu image
FROM ubuntu
MAINTAINER Andy Gardner <andyg@mukuru.com>

RUN apt-get update && apt-get install -y \
    ca-certificates \
    curl \
    git
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# verify gpg and sha256: http://nodejs.org/dist/v0.10.30/SHASUMS256.txt.asc
# gpg: aka "Timothy J Fontaine (Work) <tj.fontaine@joyent.com>"
RUN gpg --keyserver pgp.mit.edu --recv-keys   7937DFD2AB06298B2293C3187D33FF9D0246406D

ENV NODE_VERSION 0.11.14
ENV NPM_VERSION 2.1.9

RUN curl -SLO "http://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz" \
    && curl -SLO "http://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
    && gpg --verify SHASUMS256.txt.asc \
    && grep " node-v$NODE_VERSION-linux-x64.tar.gz\$" SHASUMS256.txt.asc | sha256sum -c - \
    && tar -xzf "node-v$NODE_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 \
    && rm "node-v$NODE_VERSION-linux-x64.tar.gz" SHASUMS256.txt.asc \
    && npm install -g npm@"$NPM_VERSION" \
    && npm cache clear

CMD [ "node" ]
Docker Pull Command
Owner
andyg

Comments (0)