There is a simple way to prevent line breakage from these causes. Install vibration eliminators in both the suction and discharge lines. They should be the same size as the lines. Install the vibration eliminators parallel with the drive shaft on the compressor.
A typical vibration eliminator has rigid copper ends to connect to the compressor and the system. Between the ends is a length of flexible tubing. It is covered with woven brass or stainless steel mesh for strength.
Excerpt from Technical Institute Manual 2 of the Refrigeration Service Engineers Society.