devtron icon indicating copy to clipboard operation
devtron copied to clipboard

Feature: Optimize dockerfile

Open prakarsh-dt opened this issue 3 years ago • 7 comments

šŸ”– Feature description

Optimize dockerfile for shorter build time

šŸŽ¤ Pitch

Optimize dockerfile for shorter build time

āœŒļø Solution

  • Use .dockerignore file to skip irrelevant files and folders.
  • Pin image versions

šŸ”„ļø Alternative

NA

šŸ‘€ Have you spent some time to check if this issue has been raised before?

  • [X] I checked and didn't find similar issue

šŸ¢ Have you read the Code of Conduct?

AB#979

prakarsh-dt avatar Oct 26 '22 15:10 prakarsh-dt

Hey @prakarsh-dt. I would like to work on this issue.

rakshitgondwal avatar Oct 27 '22 11:10 rakshitgondwal

Hey @prakarsh-dt. I would like to work on this issue.

Sure, please raise a PR

prakarsh-dt avatar Oct 28 '22 11:10 prakarsh-dt

Hey @prakarsh-dt. Actually I had a doubt, why do we use a Dockerfile when there's no official Dockerimage. As far as I know, Dockerfile is used to build images out of applications to publish them on repo's such as dokcerhub or other private repo's. Or is it that devtron just uses Dockerfile to publish the images to a private repo?

rakshitgondwal avatar Oct 29 '22 17:10 rakshitgondwal

I think but I am not entirely sure, can we use Slimtool kit to optimize the build time and image size?

Rajdeep1311 avatar Sep 23 '23 16:09 Rajdeep1311

upwork project

imranhasan871 avatar Dec 03 '23 16:12 imranhasan871

Hi @prakarsh-dt I’d love to work on optimizing the Dockerfile for better build performance. Would you mind assigning this issue to me?

singhsayan avatar Aug 04 '25 11:08 singhsayan

Hi @singhsayan, you must be a member of the organization 'devtron-labs' to add or remove labels.

systemsdt avatar Aug 04 '25 11:08 systemsdt