fix(#374): add pip.conf to coordinator Docker build for private registry
All checks were successful
ci/woodpecker/push/coordinator Pipeline was successful
All checks were successful
ci/woodpecker/push/coordinator Pipeline was successful
The Docker build failed because pip couldn't find mosaicstack-telemetry from the private Gitea PyPI registry. Copy pip.conf into the image so pip resolves the extra-index-url during docker build. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -9,8 +9,9 @@ RUN apt-get update && \
|
|||||||
build-essential \
|
build-essential \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Copy dependency files
|
# Copy dependency files and private registry config
|
||||||
COPY pyproject.toml .
|
COPY pyproject.toml .
|
||||||
|
COPY pip.conf /etc/pip.conf
|
||||||
|
|
||||||
# Create virtual environment and install dependencies
|
# Create virtual environment and install dependencies
|
||||||
RUN python -m venv /opt/venv
|
RUN python -m venv /opt/venv
|
||||||
|
|||||||
Reference in New Issue
Block a user