COPY ./deploycentostools.sh ${BUILD_DIR}/
COPY --from=builder ${BUILD_DIR}/install_components.tgz ${BUILD_DIR}/install_components.tgz
-RUN chmod +x ${BUILD_DIR}/deploycentostools.sh \
+RUN chmod a+rwx ${BUILD_DIR} && chmod +x ${BUILD_DIR}/deploycentostools.sh \
&& ${BUILD_DIR}/deploycentostools.sh -k runtime_image
# Expose SSH and PROX ports