This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

resin-bundle-resolve
TypeScript icon, indicating that this package has built-in type declarations

4.3.0 • Public • Published

Resin-bundle-resolve

Resolve resin bundles into a format recognised by the docker daemon. resin-bundle-resolve is written in typescript.

What is a resin bundle?

A resin bundle is a tar archive which contains a type of Dockerfile and metadata used to create a Dockerfile proper, which docker can understand.

Which bundles are supported

Currently default resolvers included are;

  • Dockerfile.template
    • Resolve template variables with metadata, currently supported:
      • %%RESIN_MACHINE_NAME%%
      • %%RESIN_ARCH%%
      • %%BALENA_MACHINE_NAME%%
      • %%BALENA_ARCH%%
  • Architecture Specific Dockerfiles
    • Choose the correct Dockerfile for a given build architecture or device type
  • Standard Dockerfile projects

How do I add a resolver?

resin-bundle-resolver supports the adding of generic resolvers, by implementing the resolver.d.ts interface in ./src. Examples of this can be found in the src/resolvers/ directory.

Your resolvers can then be passed to the resolveBundle function.

What is the input and output?

resin-bundle-resolver takes a tar stream and outputs a tar stream, which can be passed to the docker daemon or further processed.

Readme

Keywords

none

Package Sidebar

Install

npm i resin-bundle-resolve

Weekly Downloads

2

Version

4.3.0

License

Apache-2.0

Unpacked Size

258 kB

Total Files

71

Last publish

Collaborators

  • balena.io