mirror of
https://github.com/aljazceru/btcpayserver-docker.git
synced 2025-12-17 21:44:26 +01:00
Add script and instruction to build all the docker images by yourself
This commit is contained in:
22
contrib/DockerFileBuildHelper/DockerInfo.cs
Normal file
22
contrib/DockerFileBuildHelper/DockerInfo.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace DockerFileBuildHelper
|
||||
{
|
||||
public class DockerInfo
|
||||
{
|
||||
public string DockerFilePath { get; set; }
|
||||
public string DockerFilePathARM32v7 { get; set; }
|
||||
public string DockerFilePathARM64v8 { get; set; }
|
||||
public string DockerHubLink { get; set; }
|
||||
public string GitLink { get; set; }
|
||||
public string GitRef { get; set; }
|
||||
public Image Image { get; internal set; }
|
||||
|
||||
public string GetGithubLinkOf(string path)
|
||||
{
|
||||
return $"https://raw.githubusercontent.com/{GitLink.Substring("https://github.com/".Length)}/{GitRef}/{path}";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user