Compare commits

..

3 Commits

Author SHA1 Message Date
95e713de3c Add built Docker image [skip ci] 2026-04-13 20:45:25 +00:00
7324aace32 Add built Docker image [skip ci] 2026-04-13 20:28:50 +00:00
c824621df3 Add image.tar as a test
All checks were successful
continuous-integration/drone/push Build is passing
2026-04-13 22:15:12 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -52,8 +52,8 @@ VOLUME ["/output"]
# 6. Startbefehl # 6. Startbefehl
# Wir starten das Programm (Intervall: 10 Sekunden) und hängen die Ausgabe (>>) an die Datei im Volume an. # Wir starten das Programm (Intervall: 10 Sekunden) und hängen die Ausgabe (>>) an die Datei im Volume an.
# (Dein C-Code nutzt netterweise schon fflush(stdout), was perfekt für diese Umleitung ist!) # (Dein C-Code nutzt netterweise schon fflush(stdout), was perfekt für diese Umleitung ist!)
# CMD ["sh", "-c", "./deployment 10 >> /output/ausgabe.log && tail -f /output/ausgabe.log"] # CMD ["sh", "-c", "/app/deployment 10 >> /output/ausgabe.log"]
# Ausgabe wird ins Container-Dateisystem geschrieben # Ausgabe wird ins Container-Dateisystem geschrieben
ENTRYPOINT ["/bin/sh", "-c"] ENTRYPOINT ["/bin/bash", "-c"]
CMD ["./deployment 10 > /output/output.txt && tail -f /output/output.txt"] CMD ["./deployment 10 > /output/output.txt && tail -f /output/output.txt"]

BIN
image.tar Normal file

Binary file not shown.