Renomme les fichiers Dockerfile avec une extension.

This commit is contained in:
2026-03-23 22:14:55 +01:00
parent 286ab9fa28
commit d4666dc12d
4 changed files with 2 additions and 13 deletions
+19
View File
@@ -0,0 +1,19 @@
ARG IMAGE=unknown
FROM ${IMAGE}
# Installation des dépendances
RUN apt-get update && apt-get install -y curl \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Configuration de Supercronic pour la gestion des tâches planifiées
ENV SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.2.44/supercronic-linux-amd64 \
SUPERCRONIC_SHA1SUM=6eb0a8e1e6673675dc67668c1a9b6409f79c37bc \
SUPERCRONIC=supercronic-linux-amd64
RUN curl -fsSLO "$SUPERCRONIC_URL" \
&& echo "${SUPERCRONIC_SHA1SUM} ${SUPERCRONIC}" | sha1sum -c - \
&& chmod +x "$SUPERCRONIC" \
&& mv "$SUPERCRONIC" "/usr/local/bin/${SUPERCRONIC}" \
&& ln -s "/usr/local/bin/${SUPERCRONIC}" /usr/local/bin/supercronic