Skip to content

Improve dockerfile - #52

Closed
FullOvellas wants to merge 1 commit into
The-DevOps-Daily:mainfrom
FullOvellas:shrink-the-image
Closed

FullOvellas wants to merge 1 commit into
The-DevOps-Daily:mainfrom
FullOvellas:shrink-the-image

Conversation

@FullOvellas

Copy link
Copy Markdown

Split into a multi-step build, use a -slim base image and run the service as a non-root user

Challenge: shrink-the-image

Split into a multi-step build, use a -slim base image and run the service as a non-root user
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

Shrink the image: passed

Check Result Details
The image builds pass Built in 17 seconds.
Under 200 MB pass The image is 125 MB. The limit is 200 MB.
Runs as a non-root user pass USER resolves to UID 1000, and processes run as UID 1000.
Starts and answers /health pass GET /health answered 200 after 0.7 seconds.
The app still works pass GET /slugify gave app.py's answers in 10 rounds of random texts; error pages and server match Flask under gunicorn.

Graded commit acf15d4 with the grader from main (run log).

You passed. Submissions are never merged, so this PR is now closed. Your pass counts on devops-daily.com/challenges/shrink-the-image.

@github-actions github-actions Bot added challenge:shrink-the-image Submission for the shrink-the-image challenge passed Passed every check of the challenge labels Nov 3, 2026
@github-actions github-actions Bot closed this Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

challenge:shrink-the-image Submission for the shrink-the-image challenge passed Passed every check of the challenge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant