bump
This commit is contained in:
@@ -59,12 +59,16 @@ namespace DockerGenerator
|
||||
}
|
||||
fragments.Add("btcpayserver");
|
||||
|
||||
bool hasAltcoins = false;
|
||||
foreach (var crypto in cryptoDefinitions)
|
||||
{
|
||||
if (!composition.SelectedCryptos.Contains(crypto.Crypto))
|
||||
continue;
|
||||
|
||||
fragments.Add(crypto.CryptoFragment);
|
||||
if (crypto.CryptoFragment != "bitcoin")
|
||||
hasAltcoins = true;
|
||||
|
||||
if (composition.SelectedLN == "clightning" && crypto.CLightningFragment != null)
|
||||
{
|
||||
fragments.Add(crypto.CLightningFragment);
|
||||
@@ -79,6 +83,11 @@ namespace DockerGenerator
|
||||
}
|
||||
}
|
||||
|
||||
if (hasAltcoins)
|
||||
Environment.SetEnvironmentVariable("BTCPAY_BUILD_CONFIGURATION", "-altcoins");
|
||||
else
|
||||
Environment.SetEnvironmentVariable("BTCPAY_BUILD_CONFIGURATION", "");
|
||||
|
||||
foreach (var fragment in composition.AdditionalFragments)
|
||||
{
|
||||
fragments.Add(fragment);
|
||||
|
||||
Reference in New Issue
Block a user