diff --git a/Dockerfile b/Dockerfile index a5cdf64..ee9084e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ # Base-Image -FROM ubuntu:latest +FROM alpine # Pakete installieren -RUN apt-get update -RUN apt-get install -y build-essential gcc curl vim net-tools +RUN apk update +RUN apk add --no-cache build-base gcc curl vim net-tools # Arbeitsverzeichnis setzen WORKDIR /app @@ -19,4 +19,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"]