Skip to content

Commit 2be47c6

Browse files
committed
feat(runner): make poetry and uv shell-agnostic
Export runner user local bin at image level so Poetry and UV are available regardless of whether GitHub Actions uses sh or bash. Made-with: Cursor
1 parent ac81d0a commit 2be47c6

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
### Added
1111

12+
* **runner:** export `${APP_HOME}/.local/bin` at image level so Poetry and UV are discoverable in both `sh` and `bash` execution contexts
13+
1214
### Changed
1315

1416
### Fixed

Containerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ LABEL org.opencontainers.image.vendor="Deerhide"
108108
USER runner
109109
WORKDIR ${APP_HOME}
110110

111+
# Ensure user-installed CLI tools are available in all shells (sh/bash, interactive/non-interactive)
112+
ENV PATH="${APP_HOME}/.local/bin:${PATH}"
113+
111114
# Install Poetry latest version and add it to PATH
112115
# hadolint ignore=DL4006
113116
RUN curl -sSL https://install.python-poetry.org | python3 -

0 commit comments

Comments
 (0)