Initial commit of new flow

This commit is contained in:
Smaug123
2023-09-10 21:21:51 +01:00
commit a1072f203d
28 changed files with 701 additions and 0 deletions

13
docker/load/Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM alpine:3.13.5
COPY "build.sh" "/build.sh"
RUN chmod +x /build.sh && \
mkdir /sentinels && \
chmod a+rwx /sentinels && \
addgroup -S load && adduser -S load -G load && \
mkdir /output && \
chown load /output
USER load
ENTRYPOINT []

10
docker/load/build.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
rm -f /sentinels/load.txt
rm -rf -- /output/*
cp -Rf /git/. /output || exit 1
chmod -R a+rw /output || exit 1
touch /sentinels/load.txt