Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

docker-image-builder

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docker-image-builder

build images from many different sources!

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

docker-image-builder

Build Status Dependency Status devDependency Status

Builds docker images using remote Dockerfiles and source directories from S3

Installation

npm install Runnable/docker-image-builder

Example

For an example, see example.js. Replace the AWS placeholders with valid credentials, and populate the context with valid information (source, and optionally versions). This is how you would use this module externally.

This also assumes you have Docker running locally on the standard port (4243).

Be sure to run npm install prior to running the example.

Finally, run the example:

node example.js

You can see more verbose debugging output by setting DEBUG before running.

DEBUG=docker-image-builder:* node example.js

File Versions

This now supports specifying S3 file versions for specific keys. See the example.js for how it is used, but here is the gist: in the context, include a key versions which is a map of Key: VersionId and is used to retrieve specific versions of an object out of S3.

Tests

There is one test written, which can be run using npm test. It currently uses nock to mock all the calls to S3 and Docker, which makes it run quickly but only test the functionality of the written logic.

FAQs

Package last updated on 02 Jun 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc