mirror of
https://github.com/chatmail/relay.git
synced 2026-05-20 04:48:06 +00:00
docker: run a dummy git init to make cmdeploy tooling happy
This commit is contained in:
@@ -47,7 +47,10 @@ WORKDIR /opt/chatmail
|
|||||||
|
|
||||||
RUN printf '[params]\nmail_domain = build.local\n' > /tmp/chatmail.ini
|
RUN printf '[params]\nmail_domain = build.local\n' > /tmp/chatmail.ini
|
||||||
|
|
||||||
RUN python3 -m venv /opt/cmdeploy && \
|
# Dummy git repo init: .git/ is excluded from the build context (.dockerignore)
|
||||||
|
# but setuptools calls `git ls-files` when building the sdist.
|
||||||
|
RUN git init && \
|
||||||
|
python3 -m venv /opt/cmdeploy && \
|
||||||
/opt/cmdeploy/bin/pip install --no-cache-dir \
|
/opt/cmdeploy/bin/pip install --no-cache-dir \
|
||||||
-e chatmaild/ -e cmdeploy/
|
-e chatmaild/ -e cmdeploy/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user