@hazmi35/extract-docker-baseimg-recipe

2.0.2 • Public • Published

extract-docker-baseimg-recipe

Docker (OCI Format) base images recipe extractor.

FAQ

Question: What is this?

Answer: This is a simple program to extract Docker (OCI Format) base images recipe for example: tags, platforms, versions etc.

Question: Where do you use this?

Answer: It is used in my Docker (OCI Format) base images build system, for example Hazmi35/docker-node. It isn't made to be used by public. But you can use/modify it anyway

Question: How does this works?

Answer: It reads a comment in line 1, 2 and 3 for image tags, variant, and target platforms respectively and it extracts the version from the line 4 which is a FROM instruction, for example: FROM node:16.13.1-alpine, it will extract the version 16.13.1.

This is intended, because most of my base images are just Docker official images with some modifications in it, atleast for now, because this will probably change when Hazmi35/devcontainer is finished.

Readme

Keywords

none

Package Sidebar

Install

npm i @hazmi35/extract-docker-baseimg-recipe

Weekly Downloads

49

Version

2.0.2

License

MIT

Unpacked Size

8.84 kB

Total Files

11

Last publish

Collaborators

  • hazmi35