diff --git a/packages/reservation-platform/docker/build_image.sh b/packages/reservation-platform/docker/build_image.sh index daf3d63..f830758 100755 --- a/packages/reservation-platform/docker/build_image.sh +++ b/packages/reservation-platform/docker/build_image.sh @@ -33,19 +33,7 @@ if [ $? -eq 0 ]; then # Check if the compression was successful if [ $? -eq 0 ]; then - mv $PWD/docker/myp-rp_latest.tar.xz $PWD/docker/${OUTPUT_FILE} echo "Image successfully compressed to ${OUTPUT_FILE}" - - # Remove the original .tar file - echo "Cleaning up the original .tar file..." - rm $PWD/docker/myp-rp_latest.tar - - if [ $? -eq 0 ]; then - echo ".tar file removed successfully" - else - echo "Error occurred while removing the .tar file" - exit 1 - fi else echo "Error occurred while compressing the image" exit 1