HomePhabricator
Diffusion Comm 3f930534e2ad

[keyserver] Run `source-nvm.sh` using `bash` in `Docker` container

Description

[keyserver] Run source-nvm.sh using bash in Docker container

Summary:
Relevant Linear issue with full context here. This diff modifies the Dockerfile in keyserver to execute source-nvm.sh in the environment specified by the shebang in source-nvm.sh instead of in the current environment of the container, which uses sh.

Read more here.

Thank you @atul for your help on this!

Test Plan:
Ran the Docker keyserver build locally and it worked with no errors.

image.png (1×1 px, 424 KB)

Reviewers: atul, ashoat

Reviewed By: ashoat

Subscribers: palys-swm, Adrian

Differential Revision: https://phab.comm.dev/D4429

Details

Provenance
aboshAuthored on Jul 1 2022, 5:55 PM
Reviewer
ashoat
Differential Revision
D4429: [keyserver] Run `source-nvm.sh` using `bash` in `Docker` container
Parents
rCOMMf85b99c784e5: [nix] Lint line length
Branches
Unknown
Tags
Unknown