DEV Community

Walter Nascimento
Walter Nascimento

Posted on

2 1

How Reduced Docker images

This is a small tip.

When you use docker if you need, install some dependency use

โ€“no-install-recommends
Enter fullscreen mode Exit fullscreen mode

Example:

apt-get install --no-install-recommends -y git 
Enter fullscreen mode Exit fullscreen mode

after that you can see you docker image very small

References

Ubuntu


Thanks for reading!

If you have any questions, complaints or tips, you can leave them here in the comments. I will be happy to answer!
๐Ÿ˜Š๐Ÿ˜Š See you! ๐Ÿ˜Š๐Ÿ˜Š


Support Me

Youtube - WalterNascimentoBarroso
Github - WalterNascimentoBarroso
Codepen - WalterNascimentoBarroso

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs