New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

reproducible

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reproducible

A library for creating simple, reproducible environments with docker. Build artifacts reproducibly using the docker build system!

latest
npmnpm
Version
0.0.9
Version published
Weekly downloads
15
200%
Maintainers
2
Weekly downloads
 
Created
Source

Reproducible

A library for creating simple, reproducible environments with docker. Build artifacts reproducibly using the docker build system!

Installation

npm install reproducible

Usage

Check out the full go-hello-world reproducible build example in the examples folder;

Example Build File

FROM golang:buster
WORKDIR /opt/build
COPY ./ ./
RUN go build -o ./dist/main src/main.go

Example Run Script

import reproducible from 'reproducible';

(async () => {
  // Generate a DockerFile for Build Pipeline
  reproducible.generateDockerfile('golang:buster', './', 'go build -o ./dist/main src/main.go');

  // Build artifacts using docker build system and export as image
  await reproducible.createBuild('valist-build');

  // Export build artifacts from image
  await reproducible.exportBuild('valist-build','dist/main');
})();

Building the Package

npm run build

Maintainers

@awantoch

@jiyuu-jin

@nasdf

License

Reproducible is licensed under the Mozilla Public License Version 2.0

FAQs

Package last updated on 22 Jul 2021

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