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(docker): corepack permissions fix and style updates #9976

Merged
merged 1 commit into from Feb 8, 2024

Conversation

jtoar
Copy link
Contributor

@jtoar jtoar commented Feb 8, 2024

PRing some fixes @Josh-Walker-GM tipped me off to:

  • We need to add the RUN mkdir -p /home/node/.cache instruction after RUN mkdir -p /home/node/.yarn/berry/index. I still can't reliably reproduce this one, but have seen it fail reliably before too for sure and this seems to fix it
  • I forgot to remove --load-env-files when I did the api-server work. It's a no-op now
  • I forgot to change API_HOST to API_PROXY_TARGET

Adding a few style tweaks while I'm here:

  • I guess I used yarn redwood? This isn't the tutorial
  • Fixed a typo in the docs

@jtoar jtoar added the release:fix This PR is a fix label Feb 8, 2024
@jtoar jtoar added this to the v7.0.0 milestone Feb 8, 2024
@Tobbe
Copy link
Member

Tobbe commented Feb 8, 2024

  • I guess I used yarn redwood? This isn't the tutorial

🤣

  • I forgot to change API_HOST to API_PROXY_TARGET

Any way to add any kind of tests to catch stuff like this in the future?

Copy link
Collaborator

@Josh-Walker-GM Josh-Walker-GM left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for adding these. Tested locally.

@jtoar jtoar merged commit 4b06f06 into main Feb 8, 2024
40 of 44 checks passed
@jtoar jtoar deleted the ds-docker/corepack-fix,style-updates branch February 8, 2024 17:40
@jtoar
Copy link
Contributor Author

jtoar commented Feb 8, 2024

@Tobbe yeah I need to get back to CI for docker; we had a repo that was almost there

jtoar pushed a commit that referenced this pull request Feb 9, 2024
PRing some fixes @Josh-Walker-GM tipped me off to:

- We need to add the `RUN mkdir -p /home/node/.cache` instruction after
`RUN mkdir -p /home/node/.yarn/berry/index`. I still can't reliably
reproduce this one, but have seen it fail reliably before too for sure
and this seems to fix it
- I forgot to remove `--load-env-files` when I did the api-server work.
It's a no-op now
- I forgot to change `API_HOST` to `API_PROXY_TARGET`

Adding a few style tweaks while I'm here:

- I guess I used `yarn redwood`? This isn't the tutorial
- Fixed a typo in the docs
dac09 added a commit to dac09/redwood that referenced this pull request Feb 9, 2024
…d-cookies-dbauth

* 'main' of github.com:redwoodjs/redwood:
  chore: update rsc fixture (redwoodjs#9986)
  fix(server): use file extension in import, fix graphql route registering (redwoodjs#9984)
  chore(deps): update babel monorepo (redwoodjs#9983)
  fix: unpin react types (redwoodjs#9727)
  fix(docker): compose dev and prod (redwoodjs#9982)
  fix(deps): update prisma monorepo to v5.9.1 (redwoodjs#9980)
  fix(cli): use fetch instead of `yarn npm info` (redwoodjs#9975)
  fix(test): Update createServer test to use a different port to normal (redwoodjs#9977)
  fix(docker): corepack permissions fix and style updates (redwoodjs#9976)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:fix This PR is a fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants