summaryrefslogtreecommitdiff
path: root/containers/runner/Dockerfile
diff options
context:
space:
mode:
authorJonas Kohl2024-11-06 15:37:39 +0100
committerJonas Kohl2024-11-06 15:37:39 +0100
commit557bb0c775f880ac7de99b9608045ff206614ed8 (patch)
tree20fc0e980cece66d06837d75ec150e3830b09d60 /containers/runner/Dockerfile
Initial commit
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"]