update
continuous-integration/drone/push Build encountered an error

This commit is contained in:
kesslerpe96777 committed 2026-04-11 13:21:41 +02:00
1 parent dea458fcb2
commit 0efcaaa378
2 files changed
+59 -8

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
# Base-Image
FROM ubuntu:latest
# Pakete installieren
RUN apt-get update
RUN apt-get install -y build-essential gcc curl vim net-tools
# Arbeitsverzeichnis setzen
WORKDIR /app
# alles kopieren
COPY . .
# Code kompilieren
RUN gcc -o deployment deployment.c
# Verzeichnis für Ausgabe anlegen
RUN mkdir /output
# Ausgabe wird ins Container-Dateisystem geschrieben
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["./deployment 10 > /output/output.txt && tail -f /output/output.txt"]