Page MenuHomePhabricator

[keyserver] Add Webpack builds to keyserver Dockerfile
ClosedPublic

Authored by ashoat on Jun 1 2022, 1:29 AM.
Tags
None
Referenced Files
F2157396: D4172.id13281.diff
Mon, Jul 1, 1:47 AM
Unknown Object (File)
Sat, Jun 29, 6:07 PM
Unknown Object (File)
Thu, Jun 27, 10:50 AM
Unknown Object (File)
Thu, Jun 27, 10:50 AM
Unknown Object (File)
Thu, Jun 27, 10:50 AM
Unknown Object (File)
Thu, Jun 27, 10:47 AM
Unknown Object (File)
Wed, Jun 26, 4:14 PM
Unknown Object (File)
Sun, Jun 23, 9:29 PM

Details

Summary

Totally forgot about this, and didn't notice it until I actually tried to load a webpage from the Node keyserver.

I basically forgot to run keyserver/bash/setup.sh, but some of that file isn't relevant and I think it helps readability / discoverability to explicitly put these commands in the Dockerfile.

Depends on D4171

Test Plan

Make sure that the crash that was appearing regarding an assets.json import goes away

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ashoat requested review of this revision.Jun 1 2022, 1:44 AM
atul added inline comments.
keyserver/Dockerfile
54–55

I think we can combine these into a single "layer"?

Something like:

RUN yarn workspace web prod && yarn workspace landing prod

Not sure that it matters or makes a difference

This revision is now accepted and ready to land.Jun 1 2022, 7:26 AM
keyserver/Dockerfile
54–55
  1. In D4175 we end up separating these
  2. I don't think there's actually any benefit in combining this lines, and in general I prefer to keep them separate for readability