From 293c732d39ea32fe833996de0f892f5905ba3df7 Mon Sep 17 00:00:00 2001 From: jolheiser Date: Thu, 21 Apr 2022 14:40:40 -0500 Subject: [PATCH] Initial commit Signed-off-by: jolheiser --- .gitignore | 1 + .run/Dockerfile.run.xml | 25 +++++++++++++++++++++++++ Dockerfile | 15 +++++++++++++++ compile.sh | 1 + 4 files changed, 42 insertions(+) create mode 100644 .gitignore create mode 100644 .run/Dockerfile.run.xml create mode 100644 Dockerfile create mode 100644 compile.sh 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