Page MenuHomePhabricator

[keyserver] Add Webpack builds to keyserver Dockerfile
ClosedPublic

Authored by ashoat on Jun 1 2022, 1:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 13 2024, 8:02 PM
Unknown Object (File)
Nov 7 2024, 4:44 PM
Unknown Object (File)
Nov 7 2024, 9:20 AM
Unknown Object (File)
Nov 7 2024, 6:55 AM
Unknown Object (File)
Nov 7 2024, 3:01 AM
Unknown Object (File)
Nov 7 2024, 2:48 AM
Unknown Object (File)
Nov 7 2024, 2:32 AM
Unknown Object (File)
Oct 28 2024, 2:49 AM

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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat requested review of this revision.Jun 1 2022, 1:44 AM
atul added inline comments.
keyserver/Dockerfile
54–55 ↗(On Diff #13265)

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 ↗(On Diff #13265)
  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