From 05a42da02e2d003837170ec7031ce10bdbb2d380 Mon Sep 17 00:00:00 2001 From: Mike Carey <32496966+mike-carey@users.noreply.github.com> Date: Thu, 15 Apr 2021 01:44:05 -0500 Subject: [PATCH] Installs build tools for installing pyyaml (#15) When attempting to install pyyaml, pip fails to find the `gcc` executable. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 464b3cd..1be49e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM python:3-alpine -RUN pip install 'yamllint>=1.25.0' && \ - apk add --no-cache bash && \ +RUN apk add --no-cache bash gcc musl-dev && \ + pip install 'yamllint>=1.25.0' && \ rm -rf ~/.cache/pip ADD entrypoint.sh /entrypoint.sh