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

fix(build): Use a pre-created user for the frontend image #4394

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

khvn26
Copy link
Member

@khvn26 khvn26 commented Jul 25, 2024

Thanks for submitting a PR! Please check the boxes below:

  • I have added information to docs/ if required so people know about the feature!
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

This fixes the following user-reported error when running the frontend container:

Error: failed to create containerd container: mount callback failed on /var/lib/containerd/tmpmounts/containerd-mount675064683: no users found

An alternative solution would be to add a RUN useradd node layer to the target stage.

How did you test this code?

The user in question tested the PR image on their premises and reported success.

Copy link

vercel bot commented Jul 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) Jul 25, 2024 5:51pm
flagsmith-frontend-preview ⬜️ Ignored (Inspect) Jul 25, 2024 5:51pm
flagsmith-frontend-staging ⬜️ Ignored (Inspect) Jul 25, 2024 5:51pm

@github-actions github-actions bot added the fix label Jul 25, 2024
Copy link
Contributor

github-actions bot commented Jul 25, 2024

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith-api-test:pr-4394 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-e2e:pr-4394 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-frontend:pr-4394 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-api:pr-4394 Finished ✅ Results
ghcr.io/flagsmith/flagsmith:pr-4394 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-private-cloud:pr-4394 Finished ✅ Results

Copy link
Contributor

github-actions bot commented Jul 25, 2024

Uffizzi Preview deployment-54657 was deleted.

@khvn26 khvn26 changed the title fix(build): Use precreated user for the fronted image fix(build): Use a pre-created user for the frontend image Jul 25, 2024
@khvn26 khvn26 requested review from rolodato and matthewelwell July 25, 2024 17:58
@khvn26 khvn26 added this pull request to the merge queue Jul 25, 2024
Merged via the queue into main with commit 45ce495 Jul 25, 2024
30 checks passed
@khvn26 khvn26 deleted the fix/use-precreated-user branch July 25, 2024 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants