diff --git a/black/Dockerfile b/black/Dockerfile index 5fcb246..705e4d0 100644 --- a/black/Dockerfile +++ b/black/Dockerfile @@ -4,7 +4,10 @@ LABEL io.whalebrew.name 'black' LABEL io.whalebrew.config.working_dir '/workdir' WORKDIR /workdir -RUN pip install --upgrade black +# we don't want gcc in the final image, so remove it in one docker layer +RUN apk add --no-cache build-base \ + && pip install --no-cache-dir --upgrade black \ + && apk del build-base ENTRYPOINT ["black"] CMD ["--help"] \ No newline at end of file