mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-04-25 05:35:57 +03:00
[PR #167] Optimized Docker Image with Multi-Stage Build #169
Labels
No labels
bug
confirmed next step
duplicate
enhancement
help wanted
in progress
in progress
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pgbackweb#169
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/eduardolat/pgbackweb/pull/167
Author: @xbreaker
Created: 1/16/2026
Status: 🔄 Open
Base:
develop← Head:feature/docker-multistage📝 Commits (2)
f487c3afeat: Add multistage builds to Dockerfilecf2da3efix: add wget & unzip to runtime stage📊 Changes
1 file changed (+76 additions, -64 deletions)
View changed files
📝
docker/Dockerfile(+76 -64)📄 Description
Summary
This PR significantly reduces the Docker image size from 2.7GB to ~250MB (over 90% reduction) by implementing a multi-stage build approach and removing unnecessary build dependencies from the final image.
Changes Made
1. Multi-Stage Build Architecture
debian:trixie-slimwith only essential runtime dependencies2. Dependency Optimization
Removed from final image:
Retained in final image:
appandchange-password)3. Security Improvements
pgbackwebfor application execution4. Migration Handling
5. Build Process
Benefits
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.