Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test with some samples of json files for every programming language we discussed and display the results for each of it in this issue and then close this issue. #1

Open
chandu-intelops opened this issue Sep 12, 2023 · 5 comments
Assignees

Comments

@chandu-intelops
Copy link
Contributor

chandu-intelops commented Sep 12, 2023

C
GoLang
Python
JavaScript (nodejs)
Rust
Java
PHP
.net C#
.net Core
@santoshkal

@chandu-intelops chandu-intelops changed the title test with some samples of json file for every programming language we discussed and display the results for each of it in this issue and then close this issue. test with some samples of json files for every programming language we discussed and display the results for each of it in this issue and then close this issue. Sep 12, 2023
@santoshkal
Copy link
Collaborator

santoshkal commented Sep 12, 2023

@chandu-intelops Please find attached images of the genval validation and Dockerfile generated.
Currently, the templates for generating Dockerfile are for Golang, Rust, C, NodeJS, and Python. I'll add the templates for JAVA and PHP shortly.

genval results:

Golang:
GenVal-Golang

Rust:
GenVal-Rust

C:
GenVal-Clang

Python:
GenVal-Python

NodeJS/JavaScript:
GenVal-NodeJS

@devopstoday11
Copy link
Contributor

devopstoday11 commented Sep 12, 2023

@santoshkal , add the testest input json files into examples/dockerfiles-samples/ folder and mention those in the README file in the "Example usage" section. Add the above outputs to that example section, too, please. Ensure to ignore this examples folder during the build step; add it to the ignore list.

@santoshkal
Copy link
Collaborator

@devopstoday11 The samples json files are placed in /templates/dockerfile-gen folder. Can we rename the directory to /templates/dockerfile-samples and refer them in README?

@devopstoday11
Copy link
Contributor

@santoshkal , please prepare multi-stage dockerfile samples for .net C# and .net Core as well. A customer needs them. Please check if chainguard have the base images for .net too.

@santoshkal
Copy link
Collaborator

@devopstoday11,

I'll prepare and update this ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

3 participants