Skip to content

Feature: Build Project using Dockerfile templates or without Dockerfile (using Buildpack)  #2561

@kripanshdevtron

Description

@kripanshdevtron

🔖 Feature description

Organisations which wants to containerise their application, needs to study docker first or how to write Dockerfile. There must be some mechanism where user can build project without any knowledge of Dockerfile.

🎤 Pitch

Since now a days every language has its own frameworks where organisations are creating projects using those frameworks. Because of this there are some standardisation in project creation, build and deploy came in picture. That's why it becomes easy to create some patterns for project building and deploying.

✌️ Solution

We can use Buildpacks to build projects for some famous languages. Buildpack is implemented by many organisations, to name a few, Google, Heroku and Paketo. We can integrate buildpack solution to our Ci pipeline for better and fast experince.

  1. The buildpack option can be selected from the Build Configuration view

buildpack configuration option

  1. Base/global build configurations can be overridden for the specific build pipeline from Workflow Editor view

buildpack configuration override option

  1. Base & overridden configurations comparison can be viewed in Override details drawer from the Build Configuration view

buildpack configuration override details view

🔖 Prototype

https://www.figma.com/proto/bh763czmqOCxwv4PYustlq/Devtron-App-(Configuration)?node-id=3166%3A28740&scaling=min-zoom&page-id=3166%3A27446&starting-point-node-id=3166%3A28740&show-proto-sidebar=1

🔄️ Alternative

In case some still wants to use Dockerfile, a mechanism can be provided where team can select Dockerfile template for different language and their frameworks.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

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