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

npmキャッシュのためのGolden Image #498

Open
tosuke opened this issue Jul 14, 2021 · 1 comment
Open

npmキャッシュのためのGolden Image #498

tosuke opened this issue Jul 14, 2021 · 1 comment
Labels
dx Developer Experience wontfix This will not be worked on

Comments

@tosuke
Copy link
Contributor

tosuke commented Jul 14, 2021

たのしそう

See also: https://www.wantedly.com/companies/wantedly/post_articles/318785

scheduleでその時点のpackage.json, package-lock.jsonnpm ciしたときの~/.npmを持つ Docker Image を作り、各ビルドではそこから ~/.npm をコピーしてきてからnpm ciする

現状の Layer Cache ではこれらの依存が変化したときにキャッシュができないが、この手法によってビルド速度の改善が期待できる

@tosuke tosuke added the dx Developer Experience label Jul 14, 2021
@tosuke
Copy link
Contributor Author

tosuke commented Oct 31, 2021

Good First Issueとは言い難い(ただのDockerfile芸だし)完全に趣味という気持ちになってきた……

@tosuke tosuke added the wontfix This will not be worked on label Oct 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dx Developer Experience wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant