This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| image: atlassian/default-image:2 | |
| pipelines: | |
| branches: | |
| master: | |
| - step: | |
| name: Build and test with docker-compose | |
| services: | |
| - docker | |
| caches: | |
| - docker |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.7" | |
| # --------- # | |
| # Services # | |
| # --------- # | |
| services: | |
| ######## | |
| # BASE # | |
| ######## | |
| base: | |
| build: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.7" | |
| ########################### | |
| # S E R V I C E S # | |
| ########################### | |
| services: | |
| ########### | |
| # PHP-FPM # | |
| ########### | |
| php-fpm: | |
| build: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM centos:7.6.1810 | |
| LABEL maintainer="eugenio.c@elearnsecurity.com" | |
| # Refer to: https://hub.docker.com/_/centos - Minor Tags section | |
| RUN yum -y update && \ | |
| yum clean all | |
| RUN yum install policycoreutils-python -y && \ | |
| yum install epel-release -y && \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM elsecarocci/base | |
| LABEL maintainer="eugenio.c@elearnsecurity.com" | |
| # Arguments | |
| ARG host_user | |
| ARG host_group | |
| # Enable remi repository for PHP7.1 | |
| # Refer to: https://www.colinodell.com/blog/201612/installing-php-71 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM elsecarocci/base | |
| # Arguments | |
| ARG host_user | |
| ARG host_group | |
| LABEL maintainer="eugenio.c@elearnsecurity.com" | |
| # Install Apache2 | |
| RUN yum update -y && \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ############################### | |
| # Composer specific variables # | |
| ############################### | |
| COMPOSE_PROJECT_NAME=symfony-docker | |
| ########################### | |
| # User specific variables # | |
| ########################### | |
| HOST_USER=1000 | |
| HOST_GROUP=1000 |