Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devops: do not use NPX during docker container build #23213

Merged

Conversation

aslushnikov
Copy link
Collaborator

The postmortem of the broken docker image:

This patch starts using npx exec --no to make sure that we never call
remote commands during docker image build.

The postmortem of the broken docker image:
- We use `playwright-core` package when bootstrapping our docker
container.
- Due to accidental removal of `bin` entry in the `playwright-core` (see
  microsoft#23206), the `npx
  playwright install --with-deps` was using the last published
  Playwright version instead of a locally-built playwright binary

This patch starts using `npx exec --no` to make sure that we never call
remote commands during docker image build.
@aslushnikov aslushnikov merged commit 8ebe4dc into microsoft:main May 23, 2023
22 of 24 checks passed
@aslushnikov aslushnikov deleted the do-not-use-npx-during-docker-build branch May 23, 2023 02:21
aslushnikov added a commit that referenced this pull request May 24, 2023
…uild

The postmortem of the broken docker image:
- We use `playwright-core` package when bootstrapping our docker
container.
- Due to accidental removal of `bin` entry in the `playwright-core` (see
  #23206), the `npx
  playwright install --with-deps` was using the last published
  Playwright version instead of a locally-built playwright binary

This patch starts using `npx exec --no` to make sure that we never call
remote commands during docker image build.
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.

None yet

3 participants