Merge branch 'develop'

This commit is contained in:
STAM 2021-04-02 14:41:37 +03:00
commit 36c04b8ca8
9 changed files with 64 additions and 28 deletions

View File

@ -227,15 +227,21 @@ jobs:
run: docker build --compress -t epicmorg/apache2:latest linux/apache2/latest run: docker build --compress -t epicmorg/apache2:latest linux/apache2/latest
- name: Push Apache (latest) - name: Push Apache (latest)
run: docker push epicmorg/apache2:latest run: docker push epicmorg/apache2:latest
- name: Push Apache:websites (latest)
run: docker push epicmorg/websites:latest
- name: Build NGinx (latest) - name: Retag and Push Apache (legacy)
run: |
docker tag epicmorg/apache2:latest epicmorg/websites:latest
docker push epicmorg/websites:latest
- name: Build Nginx (latest)
run: docker build --compress -t epicmorg/nginx:latest linux/nginx/latest run: docker build --compress -t epicmorg/nginx:latest linux/nginx/latest
- name: Push NGinx (latest) - name: Push Nginx (latest)
run: docker push epicmorg/nginx:latest run: docker push epicmorg/nginx:latest
- name: Push NGinx:balancer (latest)
run: docker push epicmorg/balancer:latest - name: Retag and Push Nginx (legacy)
run: |
docker tag epicmorg/nginx:latest epicmorg/balancer:latest
docker push epicmorg/balancer:latest
- name: Build TeamCity Agent - name: Build TeamCity Agent
run: docker build --compress -t epicmorg/teamcity-agent:latest linux/teamcity/agent run: docker build --compress -t epicmorg/teamcity-agent:latest linux/teamcity/agent
@ -295,19 +301,25 @@ jobs:
################################################################################## ##################################################################################
- name: Build NGinx + PHP7.4 - name: Build Nginx + PHP7.4
run: docker build --compress -t epicmorg/nginx:php linux/nginx/php run: docker build --compress -t epicmorg/nginx:php linux/nginx/php
- name: Push NGinx + PHP7.4 - name: Push Nginx + PHP7.4
run: docker push epicmorg/nginx:php run: docker push epicmorg/nginx:php
- name: Push NGinx:balancer + PHP7.4
run: docker push epicmorg/balancer:php
- name: Build NGinx + RTMP-HLS - name: Retag and Push Nginx + PHP7.4 (legacy)
run: |
docker tag epicmorg/nginx:php epicmorg/balancer:php
docker push epicmorg/balancer:php
- name: Build Nginx + RTMP-HLS
run: docker build --compress -t epicmorg/nginx:rtmp-hls linux/nginx/rtmp-hls run: docker build --compress -t epicmorg/nginx:rtmp-hls linux/nginx/rtmp-hls
- name: Push NGinx + RTMP-HLS - name: Push Nginx + RTMP-HLS
run: docker push epicmorg/nginx:rtmp-hls run: docker push epicmorg/nginx:rtmp-hls
- name: Push NGinx:balancer + RTMP-HLS
run: docker push epicmorg/balancer:rtmp-hls - name: Retag and Push Nginx + RTMP-HLS (legacy)
run: |
docker tag epicmorg/apache2:latest epicmorg/websites:latest
docker push epicmorg/websites:latest
- name: PHP 7.4 - name: PHP 7.4
run: docker build --compress -t epicmorg/php:php7.4 linux/php/php7.4 run: docker build --compress -t epicmorg/php:php7.4 linux/php/php7.4
@ -331,22 +343,31 @@ jobs:
run: docker build --compress -t epicmorg/apache2:php7.4 linux/apache2/php7.4 run: docker build --compress -t epicmorg/apache2:php7.4 linux/apache2/php7.4
- name: Push Apache + PHP7.4 - name: Push Apache + PHP7.4
run: docker push epicmorg/apache2:php7.4 run: docker push epicmorg/apache2:php7.4
- name: Push Apache:websites + PHP7.4
run: docker push epicmorg/websites:php7.4 - name: Retag and Push Apache + PHP7.4 (legacy)
run: |
docker tag epicmorg/apache2:php7.4 epicmorg/websites:php7.4
docker push epicmorg/websites:php7.4
- name: Build Apache + PHP7.3 - name: Build Apache + PHP7.3
run: docker build --compress -t epicmorg/apache2:php7.3 linux/apache2/php7.3 run: docker build --compress -t epicmorg/apache2:php7.3 linux/apache2/php7.3
- name: Push Apache + PHP7.3 - name: Push Apache + PHP7.3
run: docker push epicmorg/apache2:php7.3 run: docker push epicmorg/apache2:php7.3
- name: Push Apache:websites + PHP7.3
run: docker push epicmorg/websites:php7.3 - name: Retag and Push Apache + PHP7.3 (legacy)
run: |
docker tag epicmorg/apache2:php7.3 epicmorg/websites:php7.3
docker push epicmorg/websites:php7.3
- name: Build Apache + PHP7.2 - name: Build Apache + PHP7.2
run: docker build --compress -t epicmorg/apache2:php7.2 linux/apache2/php7.2 run: docker build --compress -t epicmorg/apache2:php7.2 linux/apache2/php7.2
- name: Push Apache + PHP7.2 - name: Push Apache + PHP7.2
run: docker push epicmorg/apache2:php7.2 run: docker push epicmorg/apache2:php7.2
- name: Push Apache:websites + PHP7.2
run: docker push epicmorg/websites:php7.2 - name: Retag and Push Apache + PHP7.2 (legacy)
run: |
docker tag epicmorg/apache2:php7.2 epicmorg/websites:php7.2
docker push epicmorg/websites:php7.2
- name: Cleanup - name: Cleanup
run: docker system prune --all --force --volumes run: docker system prune --all --force --volumes

View File

@ -2,4 +2,6 @@ all: apache2
apache2: apache2:
docker build --compress -t epicmorg/apache2:latest . docker build --compress -t epicmorg/apache2:latest .
docker push epicmorg/apache2:latest docker push epicmorg/apache2:latest
docker push epicmorg/websites:latest
docker tag epicmorg/apache2:latest epicmorg/websites:latest
docker push epicmorg/websites:latest

View File

@ -2,4 +2,6 @@ all: apache2
apache2: apache2:
docker build --compress -t epicmorg/apache2:php7.2 . docker build --compress -t epicmorg/apache2:php7.2 .
docker push epicmorg/apache2:php7.2 docker push epicmorg/apache2:php7.2
docker tag epicmorg/apache2:php7.2 epicmorg/websites:php7.2
docker push epicmorg/websites:php7.2 docker push epicmorg/websites:php7.2

View File

@ -2,4 +2,7 @@ all: apache2
apache2: apache2:
docker build --compress -t epicmorg/apache2:php7.3 . docker build --compress -t epicmorg/apache2:php7.3 .
docker push epicmorg/apache2:php7.3 docker push epicmorg/apache2:php7.3
docker tag epicmorg/apache2:php7.3 epicmorg/websites:php7.3
docker push epicmorg/websites:php7.3 docker push epicmorg/websites:php7.3

View File

@ -2,4 +2,7 @@ all: apache2
apache2: apache2:
docker build --compress -t epicmorg/apache2:php7.4 . docker build --compress -t epicmorg/apache2:php7.4 .
docker push epicmorg/apache2:php7.4 docker push epicmorg/apache2:php7.4
docker push epicmorg/websites:php7.4
docker tag epicmorg/apache2:php7.4 epicmorg/websites:php7.4
docker push epicmorg/websites:php7.4

View File

@ -3,4 +3,6 @@ all: nginx
nginx: nginx:
docker build --compress -t epicmorg/nginx:latest . docker build --compress -t epicmorg/nginx:latest .
docker push epicmorg/nginx:latest docker push epicmorg/nginx:latest
docker tag epicmorg/nginx:latest epicmorg/balancer:latest
docker push epicmorg/balancer:latest docker push epicmorg/balancer:latest

View File

@ -3,4 +3,6 @@ all: nginx
nginx: nginx:
docker build --compress -t epicmorg/nginx:php . docker build --compress -t epicmorg/nginx:php .
docker push epicmorg/nginx:php docker push epicmorg/nginx:php
docker tag epicmorg/nginx:php epicmorg/balancer:php
docker push epicmorg/balancer:php docker push epicmorg/balancer:php

View File

@ -3,4 +3,6 @@ all: nginx
nginx: nginx:
docker build --compress -t epicmorg/nginx:rtmp-hls . docker build --compress -t epicmorg/nginx:rtmp-hls .
docker push epicmorg/nginx:rtmp-hls docker push epicmorg/nginx:rtmp-hls
docker tag epicmorg/nginx:rtmp-hls epicmorg/balancer:rtmp-hls
docker push epicmorg/balancer:rtmp-hls docker push epicmorg/balancer:rtmp-hls

View File

@ -14,7 +14,6 @@ ENV OPENSSL_CONF=/etc/ssl/
RUN \ RUN \
apt-get update && \ apt-get update && \
apt-get install -y --no-install-recommends curl zip unzip wget iputils-ping mariadb-client openssl && \
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \ apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \