From: Vincent Barbaresi Date: Mon, 1 Nov 2021 00:43:34 +0000 (+0100) Subject: install build-essential to compile dependencies and use multi-stage build (#2582) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/bd961304b63ad8178610df7242edf180d825e336?hp=bd961304b63ad8178610df7242edf180d825e336 install build-essential to compile dependencies and use multi-stage build (#2582) - Install build-essential to avoid build issues like #2568 when dependencies don't have prebuilt wheels available - Use multi-stage build instead of trying to purge packages and cache from the image Copying `/root/.local/` installs only black's built Python dependencies (< 20 MB). So the image is barely larger than python:3-slim base image ---