container-schulung/listings/exercises/ex12a-containerfile-steps/Containerfile
Frank Engel dd1d905371 ex12a: Containerfile Schritt für Schritt aufbauen
hello.sh, Containerfile (Referenz) und commands.txt
mit allen 6 Schritten inkl. Layer-Bonus.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-05 12:35:36 +02:00

12 lines
153 B
Docker

FROM debian:12
RUN apt-get update && apt-get install -y curl
WORKDIR /app
COPY hello.sh .
RUN chmod +x hello.sh
ENV NAME=Trainee
CMD ["./hello.sh"]