Include script file in Docker builds

This commit is contained in:
Kenneth Skovhede
2025-08-09 00:00:45 +02:00
parent cfe8b1820f
commit db8c0ad67a
@@ -1218,6 +1218,9 @@ public static partial class Command
await PackageSupport.SetPermissionFlags(tgfolder, rtcfg);
}
// Copy in the run-as-user.sh script
File.Copy(Path.Combine(resourcesDir, "run-as-user.sh"), Path.Combine(tmpbuild, "run-as-user.sh"), true);
var tags = new List<string> { rtcfg.ReleaseInfo.Channel.ToString(), rtcfg.ReleaseInfo.Version.ToString(), $"{rtcfg.ReleaseInfo.Version}-{rtcfg.ReleaseInfo.Channel}" };
if (rtcfg.ReleaseInfo.Channel == ReleaseChannel.Stable)
tags.Add("latest");