Files
pay/android/docker/build-docker.sh
T
tomFlowee 167c3a9b45 Move to Qt 6.5.1
This updates us from the 6.4.3 Qt release to default building on
Qt 6.5.1 in our build helper and natrally the docker file.
2023-06-26 22:32:34 +02:00

24 lines
833 B
Bash
Executable File

#!/bin/bash
if test "$1" != "force"; then
if test `id -u` != "1000";
then
echo "The docker file assumes you compile using a user with UID=1000"
echo "Your current user-id is not 1000, and thus the generated image"
echo "won't work for you. You may want to adjust the Docker file and"
echo "set your user-id in the 'useradd' line."
echo -n "Your current users ID is: "
id -u
echo "If you are ready to build the image, pass in 'force' to this build script"
exit
fi
fi
QtVersion=v6.5.1
cd `dirname $0`
docker build . --tag flowee/buildenv-android:$QtVersion --build-arg QtVersion=$QtVersion
# copy newly downloaded items to the cache (does nothing by default)
docker run --rm -ti -v `pwd`:/mnt flowee/buildenv-android:$QtVersion /usr/local/bin/copyBack.sh