Tag

Alpine

1 views collected around this technical thread.

macrozheng
macrozheng
Jan 9, 2025 · Cloud Native

How to Shrink Docker Images from 1.16 GB to 22 MB: Step‑by‑Step Optimization

This article explains Docker fundamentals, outlines why containers are popular, and walks through a practical example of reducing a React app's Docker image size from 1.16 GB to 22 MB using a lightweight Alpine base, multi‑stage builds, and an Nginx final stage.

AlpineDockerMulti‑Stage Build
0 likes · 8 min read
How to Shrink Docker Images from 1.16 GB to 22 MB: Step‑by‑Step Optimization
Java Tech Enthusiast
Java Tech Enthusiast
Dec 5, 2024 · Cloud Native

Optimizing Docker Images for Lightweight Deployment

By switching to a lightweight Alpine base, employing multi‑stage builds to separate compilation from runtime, and finally serving the React app with an Nginx Alpine image, Docker images can be reduced from over a gigabyte to roughly twenty‑two megabytes, enabling efficient, minimal‑footprint container deployment.

AlpineDockerMulti‑Stage Build
0 likes · 6 min read
Optimizing Docker Images for Lightweight Deployment
Python Programming Learning Circle
Python Programming Learning Circle
Apr 30, 2024 · Cloud Native

Choosing the Right Docker Base Image for Python Applications: Requirements, Size, and Build‑Time Comparison

This article evaluates several Linux‑based Docker base images for Python applications, outlining stability, security, library availability, and size requirements, then compares Ubuntu, CentOS, Debian, Amazon Linux 2, official Python images and Alpine in terms of image size and build time, concluding with practical recommendations.

AlpineAmazon LinuxBase Image
0 likes · 17 min read
Choosing the Right Docker Base Image for Python Applications: Requirements, Size, and Build‑Time Comparison
DevOps Cloud Academy
DevOps Cloud Academy
Apr 3, 2023 · Operations

Improving CI/CD Pipeline Speed with Self‑Hosted GitLab Runners and Optimizations

To accelerate CI/CD pipelines, the article recommends using a self‑hosted GitLab Runner on a private cloud, caching build dependencies, employing lightweight Alpine images for jobs, and conditionally running tasks only when relevant files change, illustrated with a sample GitLab CI configuration.

AlpineCI/CDCaching
0 likes · 4 min read
Improving CI/CD Pipeline Speed with Self‑Hosted GitLab Runners and Optimizations
Efficient Ops
Efficient Ops
Jul 14, 2022 · Operations

Essential Docker Image Building Tips to Shrink Size and Speed Up Builds

This article presents practical Dockerfile optimization techniques—including clean build contexts, lightweight base images, regional package mirrors, timezone configuration, virtual build environments, and layer minimization—to dramatically reduce image size and improve build efficiency.

AlpineDockerDockerfile
0 likes · 15 min read
Essential Docker Image Building Tips to Shrink Size and Speed Up Builds
Cloud Native Technology Community
Cloud Native Technology Community
Aug 27, 2021 · Cloud Native

How to Reduce Docker Image Size for a ReactJS Application from 1.43 GB to 22.4 MB

This tutorial shows step‑by‑step how to containerize a ReactJS app and dramatically shrink its Docker image using Alpine base images, multi‑stage builds, and Nginx, reducing the size from 1.43 GB to just 22.4 MB while preserving functionality.

AlpineDockerMulti‑Stage Build
0 likes · 7 min read
How to Reduce Docker Image Size for a ReactJS Application from 1.43 GB to 22.4 MB
Top Architect
Top Architect
Jan 6, 2021 · Cloud Computing

Docker Image Optimization: Reducing Size from 1.16 GB to 22.4 MB

This article explains how to shrink a Docker image for a React application from 1.16 GB to 22.4 MB by using a lightweight Alpine base, multi‑stage builds, and finally serving the compiled assets with Nginx, providing step‑by‑step Dockerfile examples and size comparisons.

AlpineDockercontainerization
0 likes · 7 min read
Docker Image Optimization: Reducing Size from 1.16 GB to 22.4 MB
NetEase Game Operations Platform
NetEase Game Operations Platform
Nov 30, 2019 · Backend Development

Optimizing Docker Build for Go Applications with Multi‑Stage Builds and Cache‑From

This article demonstrates how to shrink Go application Docker images and accelerate CI builds by applying multi‑stage builds, consolidating RUN commands, cleaning up layers, and leveraging Docker's cache‑from feature to reuse previously built layers in GitLab CI pipelines.

AlpineCI/CDDocker
0 likes · 12 min read
Optimizing Docker Build for Go Applications with Multi‑Stage Builds and Cache‑From
Qunar Tech Salon
Qunar Tech Salon
Sep 6, 2018 · Cloud Native

Three Simple Tricks for Smaller Docker Images: Multi‑Stage Builds, Distroless, and Alpine

This article explains how to reduce Docker image size by consolidating RUN commands, using multi‑stage builds, and switching to minimal base images such as distroless or Alpine, providing concrete Node.js examples, size comparisons, and guidance on choosing the right base image for production.

AlpineContainer OptimizationDocker
0 likes · 12 min read
Three Simple Tricks for Smaller Docker Images: Multi‑Stage Builds, Distroless, and Alpine