Skip to content

Commit

Permalink
fix: Set is_update_available flag in versioncheck.py
Browse files Browse the repository at this point in the history
build: Update AIDER_DOCKER_IMAGE environment variable in Dockerfile
  • Loading branch information
paul-gauthier committed Aug 6, 2024
1 parent df5d5bd commit 14b2642
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions aider/versioncheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand Down

0 comments on commit 14b2642

Please sign in to comment.