0.0.9 • Published 3 years ago

reproducible v0.0.9

Weekly downloads
-
License
MPL-2.0
Repository
-
Last release
3 years ago

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

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.3-rc.4

3 years ago

0.0.3-rc.3

3 years ago

0.0.3-rc.2

3 years ago

0.0.3-rc.1

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago