Renomme les fichiers Dockerfile avec une extension.
This commit is contained in:
@@ -8,7 +8,7 @@ services:
|
|||||||
context: ${PWD}
|
context: ${PWD}
|
||||||
args:
|
args:
|
||||||
IMAGE: ${SERVER_PHP_IMAGE}
|
IMAGE: ${SERVER_PHP_IMAGE}
|
||||||
dockerfile: ${PWD}/docker/Dockerfile.cron
|
dockerfile: ${PWD}/docker/cron.dockerfile
|
||||||
|
|
||||||
command: supercronic /etc/crontab
|
command: supercronic /etc/crontab
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ services:
|
|||||||
context: ${PWD}
|
context: ${PWD}
|
||||||
args:
|
args:
|
||||||
SERVER_PHP_IMAGE: ${SERVER_PHP_IMAGE}
|
SERVER_PHP_IMAGE: ${SERVER_PHP_IMAGE}
|
||||||
dockerfile: ${PWD}/docker/Dockerfile.server-php
|
dockerfile: ${PWD}/docker/server-php.dockerfile
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
|
|||||||
@@ -36,17 +36,6 @@ RUN apt-get update && apt-get install -y \
|
|||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& 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
|
RUN usermod -u 1000 www-data && groupmod -g 1000 www-data
|
||||||
|
|
||||||
# Configuration pour Composer
|
# Configuration pour Composer
|
||||||
Reference in New Issue
Block a user