forked from freudenreichan/EinfuehrungInDocker_Pipeline2
Wechsel zu Alpine
This commit is contained in:
parent
1a0fcbbd12
commit
6371ed8c7c
@ -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"]
|
||||
CMD ["./deployment 10 > /output/output.txt && tail -f /output/output.txt"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user