You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor the script so that for each component specified:
binaries are copied to the /tmpbin directory
libraries are copied to the /tmplib directory
For the core component ensure that ALL locally built libraries are copied to the /tmplib directory rather than a subset of those that are used by the binaries
If no component is specified then copy ALL locally built binaries are copied to the /tmpbin directory
Add commands to the Dockerfile so that the build process does the following:
For every file in the /tmpbin directory:
find the file with the same name in the base container image (search /usr/bin amd /usr/sbin directories)
move the file - replacing the version in the base image
For every file in the /tmplib directory:
find the file with the same name in the base container image (search /usr/lib64 directory)
move the file - replacing the version in the base image
Create some links to the libraries that were just copied because locally built binaries assume that libraries are in
a different directory to those in the base image. (original script did this too).
Signed-off-by: John Agombar <[email protected]>
0 commit comments