From 286228e719e295bc91db5d09900395e7a488ed0c Mon Sep 17 00:00:00 2001 From: TheThomaas Date: Sat, 5 Sep 2026 13:50:01 +0000 Subject: [PATCH] Ajouter cookcli/Dockerfile --- cookcli/Dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 cookcli/Dockerfile diff --git a/cookcli/Dockerfile b/cookcli/Dockerfile new file mode 100644 index 0000000..bd6b39d --- /dev/null +++ b/cookcli/Dockerfile @@ -0,0 +1,19 @@ +# Utilise l'image de base Home Assistant +ARG BUILD_FROM +FROM $BUILD_FROM + +# Installation des dépendances +RUN apk add --no-cache \ + curl \ + bash \ + git \ + openssh-client \ + && curl -L https://github.com/cooklang/CookCLI/releases/latest/download/cook-linux-amd64.tar.gz | tar xz \ + && mv cook /usr/local/bin/ \ + && chmod a+x /usr/local/bin/cook + +# Copie du système de fichiers +COPY rootfs / + +# Point d'entrée S6-overlay +ENTRYPOINT ["/init"] \ No newline at end of file