Overwriting Files while OPS Image Creation #1620
-
I created a Java image where i have copied the jre and .so files from a ubuntu machine into a CentOS. when I was running the image creation process, I encountered an issue with file overwriting. Here's the configuration file I used:
Upon running the image creation command (ops image create -c config.json --imagename=jettytest), I observed the following warning along with some other warnings:
This warning indicates that the file ld-linux-x86-64.so.2 was being overwritten during the image creation process where the ubuntu's ld-linux file was replaced by CentOs. However, since the file already exists in the specified lib64 directory, it should not have been overwritten. This unexpected behavior is preventing the successful starting of the image. Any insights or suggestions on how to resolve this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
What's going on is that ops is picking up all the shared libs that are being linked to the Program. If you are sharing code across instances like this you can either: a) share the image For more people it probably makes the most sense to create a package instead. |
Beta Was this translation helpful? Give feedback.
What's going on is that ops is picking up all the shared libs that are being linked to the Program.
If you are sharing code across instances like this you can either:
a) share the image
or
b) create a package
For more people it probably makes the most sense to create a package instead.