/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

johnjr.dev
| | javier.io

package python scripts and dependencies in single files with pex
3.1 parsecs

Travel
| |
| | 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.
4.2 parsecs

Travel
| |
| | 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
3.7 parsecs

Travel
| |
| | blog.oddbit.com

At work we have a cluster of IBM Power 9 systems running OpenShift. The problem with this environment is that nobody runs Power 9 on their desktop, and Docker Hub only offers automatic build support for the x86 architecture. This means there's no convenient options for building Power 9 Docker images...or so I thought. It turns out that Docker provides GitHub actions that make the process of producing multi-architecture images quite simple.
12.9 parsecs

Travel
|