mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 15:05:49 +03:00
[PR #563] [MERGED] Use slim version of the container #993
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#993
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/healthchecks/healthchecks/pull/563
Author: @RealOrangeOne
Created: 9/26/2021
Status: ✅ Merged
Merged: 10/1/2021
Merged by: @cuu508
Base:
master← Head:docker-slim📝 Commits (3)
90065bbUse slim version of docker containere68fb99Install libpq-dev so psycopg2 can build correctlyb349612Pin debian version to Buster📊 Changes
1 file changed (+3 additions, -2 deletions)
View changed files
📝
docker/Dockerfile(+3 -2)📄 Description
This massively reduces the size of the container, by removing things which aren't needed, and not downloading them in the first place.
Required a special case for
psycopg2, aslibpq-devisn't included in debian slim.python:3.9: 332mb compressed, 911mb uncompressed.python:3.9-slim: 43mb compressed, 122mb uncompressed.Quite a saving by doing almost nothing.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.