Initial commit

This commit is contained in:
2022-01-08 17:41:12 +01:00
commit 12a5ea3132
30 changed files with 267 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
FROM debian:11-slim
RUN useradd -m -s /bin/bash --user-group kalle
COPY --chown=kalle:kalle skript.sh /skript.sh
RUN chmod +x /skript.sh
USER kalle
CMD ["/skript.sh"]
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
PATH="/bin:/sbin:/usr/local/bin:/usr/local/sbin"
while true
do
echo "Klockan är $(date +'%T')"
sleep 7
done