Closed codeground123 closed 1 year ago
If the other team can use ubi8 as the base for their build, then you can build your custom image by using the Red Hat ubi8/dotnet image as a base, add the .so files, and any dependencies they may have.
If the other team isn't using ubi8 as the base, you could try this, but it may fail due to incompatibilities between the base images.
If it doesn't work, you need to build your s2i own image from the same base they are, and implement the s2i scripts. See Creating Images. Our s2i scripts can be a starting point: https://github.com/redhat-developer/s2i-dotnetcore/tree/master/7.0/build/s2i/bin.
cc @omajid @aslicerh
Closing as answered.
We have a DotNetCore application, this application consumes few custom nuget packages. when we containerize this app we use a custom Base Image built by one of our team because it copies few C++ libraries, .so file to a folder location.
We want to use S2i for this and by reading the blogs we see that we have to create custom builder image,
How to proceed in this case when we are dependent on other team's Docker Image which we use it as our base image.
Any examples would be helpful.