Skip to content

Commit

Permalink
build base image only
Browse files Browse the repository at this point in the history
  • Loading branch information
HieuBui419 committed Nov 1, 2023
1 parent ac52114 commit 8cbd7ad
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions src/scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,30 +79,30 @@ ls $GRADLE_HOME
mkdir -p $KATALON_KATALON_ROOT_DIR
cd $KATALON_KATALON_ROOT_DIR

echo "Install Katalon"
katalon_version="$KATALON_STUDIO_VERSION"
katalon_directory="$version"
katalon_package="Katalon_Studio_Engine_Linux_64-$katalon_version.tar.gz"
katalon_unzipped_directory="Katalon_Studio_Engine_Linux_64-$katalon_version"
# general link
wget -O $katalon_package https://download.katalon.com/$katalon_version/Katalon_Studio_Engine_Linux_64-$katalon_version.tar.gz
# beta link
# wget -O $katalon_package https://download.katalon.com/release-beta/$katalon_version/Katalon_Studio_Engine_Linux_64-$katalon_version.tar.gz
ls
tar -xvzf $katalon_package -C $KATALON_KATALON_INSTALL_DIR_PARENT
ls
rm $katalon_package
mv $KATALON_KATALON_INSTALL_DIR_PARENT/$katalon_unzipped_directory $KATALON_KATALON_INSTALL_DIR
chmod u+x $KATALON_KATALON_INSTALL_DIR/katalonc
chmod -R u+x $KATALON_KATALON_INSTALL_DIR/configuration/resources/drivers
echo "Katalon Studio $version" >> $KATALON_VERSION_FILE

chmod -R 777 $KATALON_ROOT_DIR
chmod -R 777 $KATALON_SOFTWARE_DIR
# echo "Install Katalon"
# katalon_version="$KATALON_STUDIO_VERSION"
# katalon_directory="$version"
# katalon_package="Katalon_Studio_Engine_Linux_64-$katalon_version.tar.gz"
# katalon_unzipped_directory="Katalon_Studio_Engine_Linux_64-$katalon_version"
# # general link
# wget -O $katalon_package https://download.katalon.com/$katalon_version/Katalon_Studio_Engine_Linux_64-$katalon_version.tar.gz
# # beta link
# # wget -O $katalon_package https://download.katalon.com/release-beta/$katalon_version/Katalon_Studio_Engine_Linux_64-$katalon_version.tar.gz
# ls
# tar -xvzf $katalon_package -C $KATALON_KATALON_INSTALL_DIR_PARENT
# ls
# rm $katalon_package
# mv $KATALON_KATALON_INSTALL_DIR_PARENT/$katalon_unzipped_directory $KATALON_KATALON_INSTALL_DIR
# chmod u+x $KATALON_KATALON_INSTALL_DIR/katalonc
# chmod -R u+x $KATALON_KATALON_INSTALL_DIR/configuration/resources/drivers
# echo "Katalon Studio $version" >> $KATALON_VERSION_FILE

# chmod -R 777 $KATALON_ROOT_DIR
# chmod -R 777 $KATALON_SOFTWARE_DIR

# clean up

echo "Clean up"
apt clean all
rm -rf /var/lib/apt/lists/*
cat $KATALON_VERSION_FILE
# cat $KATALON_VERSION_FILE

0 comments on commit 8cbd7ad

Please sign in to comment.