/explore
|
You are here |
til.simonwillison.net | ||
| | | | |
www.perrotta.dev
To build a docker image completely from scratch, without reusing cache layers on your system: docker build --no-cache -f Dockerfile . -t {image name}:{image tag} --platform linux/amd64 |
|
| | | | | ||
| | | | |
dafoster.net
|
|
| | | | | ||
| | | | |
blog.fredrb.com
Tiny Python Docker Images I was looking for a way to create a very small docker image for a Python project. The python project I created is a Telegram bot quizzes me in German. The python-telegram-bot pip package requires gcc to fully build- so using alpine image did not do the trick for me. I searched online, found a few example bot none that would actually do what I needed with a reasonable image size. |
|
| | | | | ||
| | | | |
whatibroke.com
EC2 Instance Setup Create a new EC2 instance. This example was done on amazon-linux but I think it would probably be better to use ubuntu next time. If you do use ubuntu note that you'll need to use apt instead of yum and will likely have to open ports 80 and 443 on the instance.... |
|
| | | |||