From 6371ed8c7cf4bf1b7f1fcf462f1365714ef0919d Mon Sep 17 00:00:00 2001 From: Parallels Date: Sat, 9 May 2026 16:17:37 +0200 Subject: [PATCH] Wechsel zu Alpine --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index a5cdf64..3df6a10 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,8 @@ # Base-Image -FROM ubuntu:latest +FROM alpine:latest # Pakete installieren -RUN apt-get update -RUN apt-get install -y build-essential gcc curl vim net-tools +RUN apk add --no-cache build-base curl vim net-tools # Arbeitsverzeichnis setzen WORKDIR /app @@ -19,4 +18,4 @@ RUN mkdir /output # Ausgabe wird ins Container-Dateisystem geschrieben ENTRYPOINT ["/bin/bash", "-c"] -CMD ["./deployment 10 > /output/output.txt && tail -f /output/output.txt"] \ No newline at end of file +CMD ["./deployment 10 > /output/output.txt && tail -f /output/output.txt"]