Created
April 25, 2023 12:22
-
-
Save ikuradon/74da10896941f6a4fbdff135d70a4eab to your computer and use it in GitHub Desktop.
Umbrelのlightningを無理矢理v0.16.*に対応させるやつ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM getumbrel/umbrel-lightning:v1.1.1 | |
RUN find /app -not -path "*node_modules*" -name "*.js" -exec sed -i 's/routerrpc.apriorihopprob/routerrpc.apriori.hopprob/g' {} \; \ | |
&& find /app -not -path "*node_modules*" -name "*.js" -exec sed -i 's/routerrpc.aprioriweight/routerrpc.apriori.weight/g' {} \; \ | |
&& find /app -not -path "*node_modules*" -name "*.js" -exec sed -i 's/routerrpc.penaltyhalflife/routerrpc.apriori.penaltyhalflife/g' {} \; \ | |
&& find /app -not -path "*node_modules*" -name "*.js" -exec sed -i 's/routerrpcApriorihopprob/routerrpcAprioriHopprob/g' {} \; \ | |
&& find /app -not -path "*node_modules*" -name "*.js" -exec sed -i 's/routerrpcAprioriweight/routerrpcAprioriWeight/g' {} \; \ | |
&& find /app -not -path "*node_modules*" -name "*.js" -exec sed -i 's/routerrpcPenaltyhalflife/routerrpcAprioriPenaltyhalflife/g' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment