From a418c8b44f82d456be523c8690cf7236bb648c22 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 13 Jan 2019 15:09:48 -0800 Subject: [PATCH] Expose current git tag to Docker build, closes #399 --- .dockerignore | 1 - Dockerfile | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index 2c34db66..938173e9 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,7 +1,6 @@ .DS_Store .cache .eggs -.git .gitignore .ipynb_checkpoints .travis.yml diff --git a/Dockerfile b/Dockerfile index cd9b642c..7001e799 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM python:3.6-slim-stretch as build # Setup build dependencies RUN apt update \ -&& apt install -y python3-dev build-essential wget libxml2-dev libproj-dev libgeos-dev libsqlite3-dev zlib1g-dev pkg-config \ +&& apt install -y python3-dev build-essential wget libxml2-dev libproj-dev libgeos-dev libsqlite3-dev zlib1g-dev pkg-config git \ && apt clean