commit 293c732d39ea32fe833996de0f892f5905ba3df7 Author: jolheiser Date: Thu Apr 21 14:40:40 2022 -0500 Initial commit Signed-off-by: jolheiser diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..62c8935 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea/ \ No newline at end of file diff --git a/.run/Dockerfile.run.xml b/.run/Dockerfile.run.xml new file mode 100644 index 0000000..72290f2 --- /dev/null +++ b/.run/Dockerfile.run.xml @@ -0,0 +1,25 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..40741e0 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM i386/alpine + +LABEL com.jojodev.image.authors="john.olheiser@gmail.com" + +RUN apk update && \ + apk add wine xvfb xvfb-run wget && \ + winecfg && \ + mkdir -p /app/compiler && \ + mkdir /app/bin && \ + wget --no-check-certificate https://autohotkey.com/download/1.1/Ahk2Exe112401.zip -O /tmp/ahk.zip && \ + unzip /tmp/ahk.zip -d /app/compiler + +COPY compile.sh /app/compile.sh + +ENTRYPOINT ["/bin/sh", "/app/compile.sh"] \ No newline at end of file diff --git a/compile.sh b/compile.sh new file mode 100644 index 0000000..1c5efa0 --- /dev/null +++ b/compile.sh @@ -0,0 +1 @@ +xvfb-run -a wine /app/compiler/Ahk2Exe.exe /in ${PLUGIN_SCRIPT} /out ${PLUGIN_OUT} \ No newline at end of file