Closed GermaVinsmoke closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
explorer | ✅ Ready (Inspect) | Visit Preview | Oct 10, 2022 at 5:58AM (UTC) |
Just adding git is unfortunately not going to be enough with our current build process - there are other changes needed in the build script we use. I'm working on other build improvements here (still WIP) https://github.com/ooni/explorer/pull/808
But when I tested with the current DockerFile
, it was giving git not found
.
On installing git inside the builder container, it was able to run those yarn --silent
commands successfully 🤔
Yes, we need to add git, but it is not the only thing required for it to work, since we currently run it against git archive, which is "not a git repository" (doesn't contain .git folder). I also found out there are some other optimizations we can do to drastically decrease docker image size.
That means, even the previous ./git-populate-env.sh
script was wrong for populating the git env variables 🤔
Then, in that case, I think I can close this PR.
Closing this since it's included in https://github.com/ooni/explorer/pull/808
Signed-off-by: GermaVinsmoke vaibhav1180@gmail.com