mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
fix: Set is_update_available flag in versioncheck.py
build: Update AIDER_DOCKER_IMAGE environment variable in Dockerfile
This commit is contained in:
parent
df5d5bdf78
commit
14b26420b1
2 changed files with 3 additions and 2 deletions
|
@ -41,6 +41,7 @@ def check_version(io, just_check=False):
|
|||
fname.parent.mkdir(parents=True, exist_ok=True)
|
||||
fname.touch()
|
||||
|
||||
is_update_available = True
|
||||
if just_check:
|
||||
if is_update_available:
|
||||
io.tool_output("Update available")
|
||||
|
|
|
@ -21,7 +21,7 @@ RUN git config --system --add safe.directory /app
|
|||
#########################
|
||||
FROM base AS aider-full
|
||||
|
||||
ENV AIDER_DOCKER_IMAGE=true
|
||||
ENV AIDER_DOCKER_IMAGE=paulgauthier/aider-full
|
||||
|
||||
COPY . /tmp/aider
|
||||
RUN /venv/bin/python -m pip install --upgrade --no-cache-dir pip \
|
||||
|
@ -37,7 +37,7 @@ ENTRYPOINT ["/venv/bin/aider"]
|
|||
#########################
|
||||
FROM base AS aider
|
||||
|
||||
ENV AIDER_DOCKER_IMAGE=true
|
||||
ENV AIDER_DOCKER_IMAGE=paulgauthier/aider
|
||||
|
||||
COPY . /tmp/aider
|
||||
RUN /venv/bin/python -m pip install --upgrade --no-cache-dir pip \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue