Skip to content
Unverified Commit bd961304 authored by Vincent Barbaresi's avatar Vincent Barbaresi Committed by GitHub
Browse files

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
parent b21c0c3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment