Skip to content

Commit

Permalink
fix: install uv in 'run-task' image as well
Browse files Browse the repository at this point in the history
`run-task` now has a feature where it will use `uv` to install pip
packages, so it makes sense to include `uv` here as well.

Note the Decision image uses `run-task` as a base, so this is *not*
removing `uv` from there.
  • Loading branch information
ahal committed Sep 26, 2024
1 parent ebdccd6 commit 2e01e1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions taskcluster/docker/decision/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
FROM $DOCKER_IMAGE_PARENT
LABEL maintainer="Release Engineering <[email protected]>"

# %ARG UV_VERSION
COPY --from=ghcr.io/astral-sh/uv:$UV_VERSION /uv /bin/uv

ENV UV_PROJECT_ENVIRONMENT=/setup/taskgraph

# %include src
Expand Down
3 changes: 3 additions & 0 deletions taskcluster/docker/run-task/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ ENV PATH=/builds/worker/bin:$PATH \
SHELL=/bin/bash \
HOME=/builds/worker

# %ARG UV_VERSION
COPY --from=ghcr.io/astral-sh/uv:$UV_VERSION /uv /bin/uv

# Set a default command useful for debugging
CMD ["/bin/bash", "--login"]

0 comments on commit 2e01e1a

Please sign in to comment.