Skip to content

Commit

Permalink
docker: we need .git during build for setuptools_scm
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Dec 15, 2023
1 parent 4684d48 commit 24efce3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
!Makefile
!LICENSE
!README.md
!.git
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ COPY ocrd_network/ ./ocrd_network
COPY Makefile .
COPY README.md .
COPY LICENSE .
COPY .git ./.git
RUN echo 'APT::Install-Recommends "0"; APT::Install-Suggests "0";' >/etc/apt/apt.conf.d/ocr-d.conf
RUN apt-get update && apt-get -y install software-properties-common \
&& apt-get update && apt-get -y install \
Expand Down

0 comments on commit 24efce3

Please sign in to comment.