azubis/basics/Dockerfile
2025-02-27 08:47:12 +01:00

17 lines
1.2 KiB
Docker

# Dokumenation: https://docs.docker.com/reference/dockerfile/
# ─< Image to start from >───────────────────────────────────────────────────────────────────
# FROM debian:trixie-slim
FROM archlinux:latest
# ─< Change the current working directory >──────────────────────────────────────────────────
WORKDIR /root/app
# ─< copy a file/script into the container -> to workdir >───────────────────────────────────
COPY ./test.sh .
# ─< making the script executable >──────────────────────────────────────────────────────────
RUN chmod +x test.sh
# ─< make the script the entrypoint >────────────────────────────────────────────────────────
ENTRYPOINT ["/bin/bash", "-c", "/root/app/test.sh"]