How should we handle #376 #379 and #283 #495
Replies: 1 comment 2 replies
-
Update: deterministic layers
This means producting the same layer or container images in multiple runs. Hence option deterministic images Next steps: I will likely make some tests with actual docker builds to see how multiple subsequent builds and tag combinations on push/pull result in hashes. I am interest into how the image and layer hashes change if we change tags and push/pull them across registries. If docker doesn't manage to persist hashes and identifiers, it is also unrealistic for the .net SDK. That could challenge the requirement of "Having deterministic output hashes". |
Beta Was this translation helpful? Give feedback.
-
@baronfel
I would like to move the discussion out of the issues #376 #379 and #283 and PR dotnet/sdk#32132 over here to this place to discuss how the implementation ultimately should look like.
I (we from our company/team) have a strong interest in getting those features and I'd be willing to bring this into the main .net SDK instead of maintaining a custom internal fork if we can agree to the approaches.
Neglecting for now backwards compatibility, I would like to understand how we wanna deal the different usecases described here: dotnet/sdk#32132 (comment)
And conclude maybe some steps forward in supporting those features. This is the information I gathered so far:
Use cases
The following usecase would be also in our interest:
Authors have an interest in
Aspects to consider for the future:
Possible approaches that were raised until now:
a) Use an approach like docker and define MSBuild properties and items which allows the Authors/SDK to:
docker login
)docker image tag
)docker image push
)b) Like
a)
but using an externally provided configuration (yaml or json file?).c) We trigger each build/push workflow individually but ensure the output of the deterministic regarding hashes. Authors would trigger multiple publish workflows (via msbuild tasks or dotnet cli)
I hope that if we identify the final goal we can tackle the required features step-by-step.
Beta Was this translation helpful? Give feedback.
All reactions