Skip to content

Conversation

@Sudo-Ivan
Copy link

@Sudo-Ivan Sudo-Ivan commented Oct 1, 2025

Hello Liam,

I have made some improvements to the docker for better security, reproducibility and decreasing image size.

  • Reduced Image size (switching to Alpine).
  • Better supply chain security
  • Version ARGs for easier updates.
  • Add .dockerignore for best practice.

Commands to get SHA256 from docker:

curl -s 'https://hub.docker.com/v2/repositories/library/node/tags/20-alpine' | grep -o '"digest":"[^"]*"' | head -1 | cut -d'"' -f4

curl -s 'https://hub.docker.com/v2/repositories/library/python/tags/3.11-alpine' | grep -o '"digest":"[^"]*"' | head -1 | cut -d'"' -f4

Let me know if you want changes or if this is not something you want.

@Sudo-Ivan Sudo-Ivan force-pushed the docker-improvements branch from 169b9f1 to f0edb4b Compare October 2, 2025 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant