Fixed moodle, nextcloud, wordpress img versions

root 2021-06-11 15:14:46 +02:00
parent d88a1aa07c
commit dcff5c0996
5 changed files with 15 additions and 8 deletions

View File

@ -1,8 +1,10 @@
ARG LANG=$LANG # ARG LANG=$LANG
ARG LANGUAGE=$LANGUAGE # ARG LANGUAGE=$LANGUAGE
#
ARG ARCH= # ARG ARCH=
FROM ${ARCH}erseco/alpine-php7-webserver ARG IMG=$MOODLE_IMG
FROM ${IMG}
# FROM ${ARCH}${IMG}
LABEL maintainer="Adapted from: Ernesto Serrano <info@ernesto.es>" LABEL maintainer="Adapted from: Ernesto Serrano <info@ernesto.es>"

View File

@ -4,6 +4,8 @@ services:
build: build:
context: ${BUILD_ROOT_PATH}/docker/moodle context: ${BUILD_ROOT_PATH}/docker/moodle
dockerfile: Dockerfile dockerfile: Dockerfile
args:
- IMG=${MOODLE_IMG}
container_name: isard-apps-moodle container_name: isard-apps-moodle
restart: unless-stopped restart: unless-stopped
volumes: volumes:

View File

@ -1,4 +1,5 @@
FROM nextcloud:fpm-alpine ARG IMG=$NEXTCLOUD_IMG
FROM ${IMG}
RUN set -ex; \ RUN set -ex; \
\ \

View File

@ -4,6 +4,8 @@ services:
build: build:
context: ${BUILD_ROOT_PATH}/docker/nextcloud context: ${BUILD_ROOT_PATH}/docker/nextcloud
dockerfile: Dockerfile dockerfile: Dockerfile
args:
- IMG=${NEXTCLOUD_IMG}
#target: production #target: production
container_name: isard-apps-nextcloud-app container_name: isard-apps-nextcloud-app
restart: unless-stopped restart: unless-stopped

View File

@ -13,7 +13,7 @@ x-volumes:
services: services:
isard-apps-wordpress: isard-apps-wordpress:
image: wordpress:latest # https://hub.docker.com/_/wordpress/ image: ${WORDPRESS_IMG} # https://hub.docker.com/_/wordpress/
container_name: isard-apps-wordpress container_name: isard-apps-wordpress
# ports: # ports:
# - ${IP}:80:80 # change ip if required # - ${IP}:80:80 # change ip if required
@ -33,7 +33,7 @@ services:
- isard_net - isard_net
isard-apps-wordpress-cli: isard-apps-wordpress-cli:
image: wordpress:cli image: ${WORDPRESS_CLI_IMG}
container_name: isard-apps-wordpress-cli container_name: isard-apps-wordpress-cli
volumes: volumes:
*wordpress-volumes *wordpress-volumes