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
+1 -1
View File
@@ -8,7 +8,7 @@ services:
context: ${PWD}
args:
IMAGE: ${SERVER_PHP_IMAGE}
dockerfile: ${PWD}/docker/Dockerfile.cron
dockerfile: ${PWD}/docker/cron.dockerfile
command: supercronic /etc/crontab
+1 -1
View File
@@ -32,7 +32,7 @@ services:
context: ${PWD}
args:
SERVER_PHP_IMAGE: ${SERVER_PHP_IMAGE}
dockerfile: ${PWD}/docker/Dockerfile.server-php
dockerfile: ${PWD}/docker/server-php.dockerfile
labels:
- traefik.enable=true
@@ -36,17 +36,6 @@ RUN apt-get update && apt-get install -y \
&& 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
RUN usermod -u 1000 www-data && groupmod -g 1000 www-data
# Configuration pour Composer