Skip to content

Commit bc3aaaf

Browse files
refactor: rename rhoai-cli to rhai-cli in Dockerfile
Rename container paths and binary references from rhoai-cli to rhai-cli to align with the new CLI naming convention. Also update the local upgrade-helpers destination path to /opt/rhai-upgrade-helpers. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 4aee8ec commit bc3aaaf

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ ARG UPGRADE_HELPERS_REPO=https://github.com/red-hat-data-services/rhoai-upgrade-
4141
ARG UPGRADE_HELPERS_BRANCH=main
4242

4343
RUN git clone --depth 1 --branch ${UPGRADE_HELPERS_BRANCH} \
44-
${UPGRADE_HELPERS_REPO} /opt/rhoai-upgrade-helpers \
45-
&& rm -rf /opt/rhoai-upgrade-helpers/.git
44+
${UPGRADE_HELPERS_REPO} /opt/rhai-upgrade-helpers \
45+
&& rm -rf /opt/rhai-upgrade-helpers/.git
4646

4747
# Runtime stage
4848
FROM registry.access.redhat.com/ubi9/ubi:latest
@@ -90,14 +90,14 @@ RUN set -e; \
9090
rm -f openshift-client.tar.gz kubectl README.md
9191

9292
# Copy binary from builder (cross-compiled for target platform)
93-
COPY --from=builder /workspace/bin/kubectl-odh /opt/rhoai-cli/bin/rhoai-cli
93+
COPY --from=builder /workspace/bin/kubectl-odh /opt/rhai-cli/bin/rhai-cli
9494

95-
# Add rhoai-cli to PATH
96-
ENV PATH="/opt/rhoai-cli/bin:${PATH}"
95+
# Add rhai-cli to PATH
96+
ENV PATH="/opt/rhai-cli/bin:${PATH}"
9797

9898
# Copy upgrade helpers from builder
99-
COPY --from=builder /opt/rhoai-upgrade-helpers /opt/rhoai-upgrade-helpers
99+
COPY --from=builder /opt/rhai-upgrade-helpers /opt/rhai-upgrade-helpers
100100

101-
# Set entrypoint to rhoai-cli binary
101+
# Set entrypoint to rhai-cli binary
102102
# Users can override with --entrypoint /bin/bash for interactive debugging
103-
ENTRYPOINT ["/opt/rhoai-cli/bin/rhoai-cli"]
103+
ENTRYPOINT ["/opt/rhai-cli/bin/rhai-cli"]

0 commit comments

Comments
 (0)