Skip to content

Commit da960f8

Browse files
authored
Merge pull request #6 from rsantacroce/fix-docker-include-copy
fix(docker): don't COPY empty include/ dir (unblocks simplepool image build)
2 parents 423c13d + 617bc74 commit da960f8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

deploy/docker/Dockerfile.simplepool

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1414
&& rm -rf /var/lib/apt/lists/*
1515
WORKDIR /src
1616
COPY Makefile ./
17-
COPY include/ ./include/
17+
# NOTE: include/ is intentionally not copied — it's an empty directory (git
18+
# can't track empty dirs, so it's absent in a fresh checkout) and no header
19+
# lives there; all headers are under src/. The Makefile's -Iinclude search
20+
# path harmlessly tolerates its absence.
1821
COPY src/ ./src/
1922
# The Makefile does `include tests/*.mk` at the top level, so those files
2023
# must be present for make to parse — we only build the main binary target

0 commit comments

Comments
 (0)