Python-3.8+, Git2.+, Java-8, Gradle-5.0, PyGradle, Groovy-2.4
* Java ~/Tools/jdk1.8.0_151
* Gradle-5.0 ~/Tools/gradle/gradle-5.0
* Downloaded pygradle repo ~/.gradle/pygradle-repo/
* Downloads from git ~/Workspaces/
JAVA_HOME=~/Tools/jdk1.8.0_151
APP_HOME=~
pygradle_repo=$APP_HOME/.gradle/pygradle-repo
workspace=$APP_HOME/Workspaces
gradle_home=$APP_HOME/Tools/gradle
export JAVA_HOME=$JAVA_HOME
RUN wget https://github.com/linkedin/pygradle/archive/refs/heads/master.zip -O $workspace/pygr_master.zip
RUN unzip $workspace/pygr_master.zip -d $workspace
RUN $gradle_home/gradle-5.0/bin/gradle build -b $workspace/pygradle-master/pivy-importer/build.gradle
RUN wget https://github.com/alghoshal/pygradle_python3_example/archive/refs/heads/main.zip -O $workspace/pygrexg_master.zip
RUN unzip $workspace/pygrexg_master.zip -d $workspace
bash $workspace/pygradle_python3_example/scripts/downloadPyGradleDependencies.sh
bash $workspace/pygradle_python3_example/scripts/fixDownloadedIvyModules.sh
$gradle_home/gradle-5.0/bin/gradle $workspace/pygradle_python3_example/build.gradle
docker build -t pygradle_python3_example-1 -f Dockerfile .