This script allows you to build xSTUDIO a Docker image and copies files from the container to the current directory.
- Docker must be installed on your system.
To use the script, run it with the following command:
/build.sh [centos7|rocky8|rocky9] [--qt-email|-m qt-email] [--qt-password|-pw qt-password]
[--path|-p destination_path] [--version|-v xstudio_version]]- The first argument is the choice of platform among
centos7,rockylinux8androckylinux9. - The
qt-emailandqt-passwordarguments are optional and only required for thecentos7. - The
versionargument are not yet implemented.
You can also display a help message by running the script with the --help or -h argument:
./build.sh --helpHere is an example of how to use the script to build an image for the centos7 platform with the qt-email and qt-password arguments:
./script.sh centos7 -m [email protected] -pw mypassword
The qt email and password is required for the centos7. These credentials are for the https://www.qt.io/ website to obtain an open-source license for qt5.
This will build a Docker image with the tag xstudio:[centos7|rocky8|rocky9], launch a container from it and copy files from the /usr/local/src/xstudio/build/ directory in the container to the current directory.
This README file provides an overview of the script’s requirements and usage.