summaryrefslogtreecommitdiff
path: root/containers/runner/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'containers/runner/Dockerfile')
-rw-r--r--containers/runner/Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/containers/runner/Dockerfile b/containers/runner/Dockerfile
new file mode 100644
index 0000000..ebb15ad
--- /dev/null
+++ b/containers/runner/Dockerfile
@@ -0,0 +1,8 @@
+FROM eclipse-temurin:23-jdk
+RUN mkdir /home/nobody
+WORKDIR /home/nobody
+ARG EXEC_DIR_HOST
+USER 65534
+COPY --chmod=700 --chown=nobody containers/runner/execute.sh /home/nobody/execute.sh
+COPY --chmod=700 --chown=nobody ${EXEC_DIR_HOST} /home/nobody/exec
+ENTRYPOINT ["/home/nobody/execute.sh"]