docker: use commit id for the SGDK_wine script
Using the commit id instead of a branch name makes it a little more secure, as
it is more complex to hijack, but not impossible
@@ -12,7 +12,11 @@ RUN apt-get install -y openjdk-11-jdk-headless
ADD . /sgdk
WORKDIR /sgdk
-ADD https://raw.githubusercontent.com/Franticware/SGDK_wine/main/generate_wine.sh bin/generate_wine.sh
+
+# Crudely get the script from github.
+# This isn't very secure, but at least we use the commit hash.
+# Ideally that repository should simply be merged into this one.
+ADD https://raw.githubusercontent.com/Franticware/SGDK_wine/c8a580a06f20fb45f43a18b65849e318b5f1341e/generate_wine.sh bin/generate_wine.sh
RUN cd bin && sh generate_wine.sh
ENV GDK=/sgdk
