Skip to content

TESTING: Migrate Argo CD Dockerfile to use pnpm#1004

Open
nmirasch wants to merge 1 commit into
rh-gitops-midstream:mainfrom
nmirasch:build_use_pnpm_main
Open

TESTING: Migrate Argo CD Dockerfile to use pnpm#1004
nmirasch wants to merge 1 commit into
rh-gitops-midstream:mainfrom
nmirasch:build_use_pnpm_main

Conversation

@nmirasch

Copy link
Copy Markdown
Collaborator

Assisted-by: Cursor

Comment on lines -24 to -29
# Install Yarn
WORKDIR /usr/src/app
COPY ["prefetch/yarn/package.json", "prefetch/yarn/package-lock.json", "./"]
RUN npm install --prefer-offline --no-progress --non-interactive
ENV YARN="/usr/src/app/node_modules/.bin/yarn"
RUN $YARN --version

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to install pnpm in this manner? Ideally we should request the registry.access.redhat.com/ubi9/nodejs-22 maintainers to have pnpm bundled in the image but that will take time.

@svghadi

svghadi commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Looks good overall. The conforma failure is expected and we can get it fixed later via policy exception. We should now look into using Nexus registry as proxy. Please ping me on slack, I will share the registry details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants