feat: Add AIDER_DOCKER_IMAGE=true environment variable to aider-full and aider Docker images

This commit is contained in:
Paul Gauthier (aider) 2024-08-06 11:13:52 -03:00
parent a01749cb32
commit a369e0c281

View file

@ -21,6 +21,8 @@ RUN git config --system --add safe.directory /app
######################### #########################
FROM base AS aider-full FROM base AS aider-full
ENV AIDER_DOCKER_IMAGE=true
COPY . /tmp/aider COPY . /tmp/aider
RUN /venv/bin/python -m pip install --upgrade --no-cache-dir pip \ RUN /venv/bin/python -m pip install --upgrade --no-cache-dir pip \
&& /venv/bin/python -m pip install --no-cache-dir /tmp/aider[help,browser,playwright] \ && /venv/bin/python -m pip install --no-cache-dir /tmp/aider[help,browser,playwright] \
@ -35,6 +37,8 @@ ENTRYPOINT ["/venv/bin/aider"]
######################### #########################
FROM base AS aider FROM base AS aider
ENV AIDER_DOCKER_IMAGE=true
COPY . /tmp/aider COPY . /tmp/aider
RUN /venv/bin/python -m pip install --upgrade --no-cache-dir pip \ RUN /venv/bin/python -m pip install --upgrade --no-cache-dir pip \
&& /venv/bin/python -m pip install --no-cache-dir /tmp/aider \ && /venv/bin/python -m pip install --no-cache-dir /tmp/aider \