Skip to content

Add build environment snapshot into the container image #341

@rameshpolishetti

Description

@rameshpolishetti

Context
Currently by using be-tools one can create BE application container image in many ways like:

  1. On a Windows machine or Mac or Linux
  2. On Windows machine using .bat scripts or shell scripts
  3. Using build tools like Docker or Buildah
  4. From BusinesEvents installer package zips or from local installation

After successful image creation there is no clue on how the image is created. Some times this information may be required for debugging purpose.

Hence, Capture the build environment snapshot details into a file named "build-log.txt" and make it available inside the container image so that it can referred easily when required. Snapshot details may include:

  1. Exact command used to create the image
  2. OS / Architecture info
  3. Details of the build tool used i.e. Docker / Buildah
  4. Supplied installer packages related info

Alternatives
No

Has the feature been requested before?
NA

If the feature request is approved, would you be willing to submit a PR?
Yes

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions