Almost working scirpt

This commit is contained in:
Jarne Clauw 2025-12-19 17:22:45 +01:00
parent edb0d0ec54
commit 395e7a8b43
4 changed files with 27 additions and 0 deletions

12
Dockerfile.scripts Normal file
View file

@ -0,0 +1,12 @@
FROM alpine:latest
RUN apk add --no-cache bash curl
RUN adduser -D scripter
WORKDIR /home/scripter
USER scripter
RUN mkdir -p /home/scripter/scripts
COPY --chown=scripter:scripter ./scripts /home/scripter/scripts
CMD ["bash", "-c", "for script in /home/scripter/scripts/*.sh; do bash $script; done"]