Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reintroduce js-libp2p v0.45.0 and fix build from cache #189

Merged
merged 4 commits into from
Jun 8, 2023

Conversation

MarcoPolo
Copy link
Contributor

#187 with an extra commit that fixes the builds from cache. The issue is that the browser images which are based on the node image for speed relied on the image being tagged with a certain name. When loading from cache we don't load the tag name again, just the image and reference it via the digest.

If we could reference base images by their digest that would have also fixed this issue.

@@ -4,12 +4,16 @@ commitSha := 41641f1a7656aa654234f6f849b1749786867121
# TODO Enable webkit once https://github.com/libp2p/js-libp2p/pull/1627 is in
all: image.json chromium-image.json firefox-image.json

chromium-image.json: image.json BrowserDockerfile
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dependency of BrowserDockerfile is still valid, right? In other words, changing the BrowserDockerfile should lead to a rebuild of the chromium-image.json target.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants