Ajouter cookcli/Dockerfile
This commit is contained in:
parent
8ed60d69af
commit
286228e719
19
cookcli/Dockerfile
Normal file
19
cookcli/Dockerfile
Normal file
|
|
@ -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"]
|
||||
Loading…
Reference in a new issue