Add git to Dockerfile(s) for setuptools-scm to work

This enables the setuptools_scm python module to fetch
the version to release from git tags and workdir state

See ref. https://pypi.org/project/setuptools-scm/
This commit is contained in:
Samuel Alfageme
2020-05-11 16:48:34 +02:00
parent 47707faec7
commit 5cddfdb991
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
org.label-schema.schema-version="1.0"
RUN apk add -U ca-certificates python3 \
python3-dev gcc libc-dev libffi-dev openssl-dev && \
python3-dev gcc libc-dev libffi-dev openssl-dev git && \
rm -rf /var/cache/apk/* && \
pip3 install --no-cache-dir --upgrade pip setuptools wheel six twine