Skip to content

Instantly share code, notes, and snippets.

View Popsiclestick's full-sized avatar
🤠
Howdy

Michael Salsone Popsiclestick

🤠
Howdy
View GitHub Profile
@Popsiclestick
Popsiclestick / Dockerfile
Last active May 29, 2023 19:10
Dockerfile example with best practices
### Generic Dockerfile demonstrating good practices
### Imports
# Bad. You risk both the stability and security of your application
# You don't know what they might merge into their image or who they may give control of the project
# https://twitter.com/b0rk/status/1226856930875932672/photo/1
FROM random-person/golang:latest
# Bad-ish. We don't need Ubuntu, it comes with unnecessary bloat