diff --git a/src/data/roadmaps/docker/content/106-building-container-images/100-dockerfiles.md b/src/data/roadmaps/docker/content/106-building-container-images/100-dockerfiles.md index 1de93588f..ea560a473 100644 --- a/src/data/roadmaps/docker/content/106-building-container-images/100-dockerfiles.md +++ b/src/data/roadmaps/docker/content/106-building-container-images/100-dockerfiles.md @@ -57,4 +57,4 @@ To build an image from the Dockerfile, use the `docker build` command, specifyin docker build -t my-image:tag . ``` -After running this command, Docker will execute each instruction in the Dockerfile, in order, creating a new layer for each. \ No newline at end of file +After running this command, Docker will execute each instruction in the Dockerfile, in order, creating a new layer for each. diff --git a/src/data/roadmaps/docker/content/106-building-container-images/101-efficient-layer-caching.md b/src/data/roadmaps/docker/content/106-building-container-images/101-efficient-layer-caching.md index 2768f13ea..f8bb0aa17 100644 --- a/src/data/roadmaps/docker/content/106-building-container-images/101-efficient-layer-caching.md +++ b/src/data/roadmaps/docker/content/106-building-container-images/101-efficient-layer-caching.md @@ -37,4 +37,6 @@ When you build the image for the first time, Docker will execute each instructio By following these best practices, you can optimize the layer caching process and reduce the build time for your Docker images, making your development and deployment processes more efficient. -- [@article@Docker Layer Caching](https://docs.docker.com/build/cache/). +Visit the following resources to learn more: + +- [@article@Docker Layer Caching](https://docs.docker.com/build/cache/) diff --git a/src/data/roadmaps/docker/content/106-building-container-images/102-image-size-and-security.md b/src/data/roadmaps/docker/content/106-building-container-images/102-image-size-and-security.md index 5e1b349df..e18ee0967 100644 --- a/src/data/roadmaps/docker/content/106-building-container-images/102-image-size-and-security.md +++ b/src/data/roadmaps/docker/content/106-building-container-images/102-image-size-and-security.md @@ -73,3 +73,7 @@ When building container images, it's essential to be aware of both image size an - **Scan images for vulnerabilities:** Use tools like [Anchore](https://anchore.com/) or [Clair](https://github.com/quay/clair) to scan your images for vulnerabilities and fix them before deployment. By following these best practices, you'll be able to build more efficient and secure container images, leading to improved performance and a reduced risk of vulnerabilities in your applications. + +Visit the following resources to learn more: + +- [@official@Multi-stage builds](https://docs.docker.com/build/building/multi-stage/)