Closed
Bug 1282932
Opened 9 years ago
Closed 5 years ago
Pass through host UID to docker build so Linux hosts work
Categories
(Webtools Graveyard :: DXR, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: erik, Unassigned)
Details
Right now, it's unlikely that our Docker setup works on Linux boxes unmodified. This is because we had to hard-code a UID in docker/code/Dockerfile in order to align the docker-machine `dxr` UID with the ones in the container so we can write from within the container to the shared, host-dwelling ~dxr/dxr folder. (We also have a hacky chmod in our .travis.yml that serves the same purpose.)
Now that docker-compose supports the --build-arg argument, we can add one for UID so we can, from an env var on the host, set the UID of the unprivileged user in the container. Then we can delete the hacks.
Comment 1•5 years ago
|
||
DXR is no longer available. Searchfox is now replacing it.
See meta bug 1669906 & https://groups.google.com/g/mozilla.dev.platform/c/jDRjrq3l-CY for more details.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Updated•5 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•