4.3.0 • Published 2 years ago

resin-bundle-resolve v4.3.0

Weekly downloads
619
License
Apache-2.0
Repository
github
Last release
2 years ago

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%%
  • 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.

4.3.0

5 years ago

4.2.2

5 years ago

4.2.1

5 years ago

4.2.0

5 years ago

4.1.3

5 years ago

4.1.2

5 years ago

4.1.1

6 years ago

4.1.0

6 years ago

4.0.0

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.0

6 years ago

0.6.1

6 years ago

0.6.0

6 years ago

0.5.3

7 years ago

0.5.2

7 years ago

0.5.1

7 years ago

0.5.0

7 years ago

0.4.0

7 years ago

0.3.1

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.4

7 years ago

0.0.2

8 years ago

0.0.1

8 years ago