docker

4 Articles

Python Docker images in less than 50MB

A multi-stage Dockerfile that builds your Python project as wheels with the optimization flags and installs them without touching PyPI, so the final image stays small.

lxml in multi-stage Docker images

How to build a small multi-stage Docker image with lxml on Alpine: compile the wheel in one stage and copy only the .so files it needs into the final one.

DevSecOps series No. 2: Automatic security checks for Dockerfiles

Second post of the DevSecOps series. How to check Dockerfiles for security issues automatically in your CI pipeline, comparing Hadolint and Dockerfile-security.

Is It Safe to Run Firefox in Docker? (1/2)

Setting up a vulnerable Firefox inside Docker with Metasploit to test whether the container really isolates the browser from the host operating system.