Merge branch 'develop'

This commit is contained in:
STAM 2022-11-14 22:44:37 +03:00
commit 9015f9cd54
Signed by: stam
GPG Key ID: E149C3760CFA3C7E
224 changed files with 6347 additions and 298 deletions

View File

@ -0,0 +1,93 @@
name: EpicMorg EcoSystem Gitlab Runner Images
on:
# push:
# branches:
# - 'master'
schedule:
- cron: '4 5 * * 2,4,6'
jobs:
build-glr-main-images:
name: Build EpicMorg Gitlab Runner Main Images
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Log into registry
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
- name: Test Make
run: make
- name: "Build and Deploy Gitlab Runner Main Image:"
run: cd linux/ecosystem/gitlab/runner/latest && pwd && make build && make deploy
##################################################################################
build-glr-other-images:
name: Build EpicMorg Gitlab Runner Oter Images
runs-on: ubuntu-22.04
needs: build-tca-main-images
steps:
- uses: actions/checkout@v3
- name: Log into registry
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
- name: Test Make
run: make
- name: "Build and Deploy Gitlab Runner amxX SDK Image:"
run: cd linux/ecosystem/gitlab/runner/amxx-sdk && pwd && make build && make deploy
- name: "Build and Deploy Gitlab Runner Android SDK Image:"
run: cd linux/ecosystem/gitlab/runner/android-sdk && pwd && make build && make deploy
- name: "Build and Deploy Gitlab Runner Atlassian SDK Image:"
run: cd linux/ecosystem/gitlab/runner/atlassian-sdk && pwd && make build && make deploy
- name: "Build and Deploy Gitlab Runner dotNet SDK Image:"
run: cd linux/ecosystem/gitlab/runner/dotnet-sdk && pwd && make build && make deploy
- name: "Build and Deploy Gitlab Runner node12 Image:"
run: cd linux/ecosystem/gitlab/runner/node12 && pwd && make build && make deploy
- name: "Build and Deploy Gitlab Runner node14 Image:"
run: cd linux/ecosystem/gitlab/runner/node14 && pwd && make build && make deploy
- name: "Build and Deploy Gitlab Runner node15 Image:"
run: cd linux/ecosystem/gitlab/runner/node15 && pwd && make build && make deploy
- name: "Build and Deploy Gitlab Runner node16 Image:"
run: cd linux/ecosystem/gitlab/runner/node16 && pwd && make build && make deploy
- name: "Build and Deploy Gitlab Runner node17 Image:"
run: cd linux/ecosystem/gitlab/runner/node17 && pwd && make build && make deploy
- name: "Build and Deploy Gitlab Runner node18 Image:"
run: cd linux/ecosystem/gitlab/runner/node18 && pwd && make build && make deploy
- name: "Build and Deploy Gitlab Runner php7.2 Image:"
run: cd linux/ecosystem/gitlab/runner/php7.2 && pwd && make build && make deploy
- name: "Build and Deploy Gitlab Runner php7.3 Image:"
run: cd linux/ecosystem/gitlab/runner/php7.3 && pwd && make build && make deploy
- name: "Build and Deploy Gitlab Runner php7.4 Image:"
run: cd linux/ecosystem/gitlab/runner/php7.4 && pwd && make build && make deploy
- name: "Build and Deploy Gitlab Runner php8.0 Image:"
run: cd linux/ecosystem/gitlab/runner/php8.0 && pwd && make build && make deploy
- name: "Build and Deploy Gitlab Runner php8.1 Image:"
run: cd linux/ecosystem/gitlab/runner/php8.1 && pwd && make build && make deploy
- name: "Build and Deploy Gitlab Runner Steam SDK Image:"
run: cd linux/ecosystem/gitlab/runner/steam-sdk && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make docker-clean

View File

@ -42,6 +42,9 @@ jobs:
- name: "Build and Deploy Python 3.11 Main Image:" - name: "Build and Deploy Python 3.11 Main Image:"
run: cd linux/ecosystem/epicmorg/python/main/3.11 && pwd && make build && make deploy run: cd linux/ecosystem/epicmorg/python/main/3.11 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.12 Main Image:"
run: cd linux/ecosystem/epicmorg/python/main/3.12 && pwd && make build && make deploy
################################################################################## ##################################################################################
build-python-develop-images: build-python-develop-images:
@ -78,6 +81,9 @@ jobs:
- name: "Build and Deploy Python 3.11 Develop Image:" - name: "Build and Deploy Python 3.11 Develop Image:"
run: cd linux/ecosystem/epicmorg/python/develop/3.11 && pwd && make build && make deploy run: cd linux/ecosystem/epicmorg/python/develop/3.11 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.12 Develop Image:"
run: cd linux/ecosystem/epicmorg/python/develop/3.12 && pwd && make build && make deploy
################################################################################## ##################################################################################
- name: Cleanup - name: Cleanup

View File

@ -81,6 +81,9 @@ jobs:
- name: "Build and Deploy TeamCity Agent php8.0 Image:" - name: "Build and Deploy TeamCity Agent php8.0 Image:"
run: cd linux/ecosystem/teamcity/agent/php8.0 && pwd && make build && make deploy run: cd linux/ecosystem/teamcity/agent/php8.0 && pwd && make build && make deploy
- name: "Build and Deploy TeamCity Agent php8.1 Image:"
run: cd linux/ecosystem/teamcity/agent/php8.1 && pwd && make build && make deploy
- name: "Build and Deploy TeamCity Agent Steam SDK Image:" - name: "Build and Deploy TeamCity Agent Steam SDK Image:"
run: cd linux/ecosystem/teamcity/agent/steam-sdk && pwd && make build && make deploy run: cd linux/ecosystem/teamcity/agent/steam-sdk && pwd && make build && make deploy

View File

@ -1,12 +1,17 @@
## Changelog # Changelog
### 2022 ## 2023
* `jan`
-------------------------------------------------------------------
## 2022
* `dec`
* `nov` * `nov`
* added `php8.1`, `apache2 + php8.1` and `teamcity agent + php8.1` images * added `php8.1`, `apache2 + php8.1` and `teamcity agent + php8.1` images
* build and ci fixes * build and `ci` fixes
* added `gitlab-runner` images * added `gitlab-runner` images
* updated `nextcloud`, `nginx` and `postgres` images * updated `nextcloud`, `nginx` and `postgres` images
* added `nginx` with `http3` and `quic` support * added `nginx` with `http3` and `quic` support
* fixed `GitHub Actions` and `Makefile` * fixed `GitHub Actions` and `Makefile`
* updated `base` images
* `oct` * `oct`
* just fixes * just fixes
* `sep` * `sep`
@ -39,6 +44,7 @@
* fixed `apache2` * fixed `apache2`
* added `php8` support * added `php8` support
* extended `testrail` releases with `active directory` and `ldap` auth support. * extended `testrail` releases with `active directory` and `ldap` auth support.
-------------------------------------------------------------------
### 2021 ### 2021
* `december` * `december`
* added `git-lfs`, `lazygit`, bumped versions of nginx, jira, conflunce and bitbucket. * added `git-lfs`, `lazygit`, bumped versions of nginx, jira, conflunce and bitbucket.
@ -98,7 +104,7 @@
* updated `nginx`. and reworked `php` image, now it based in splitted php-image. yay. * updated `nginx`. and reworked `php` image, now it based in splitted php-image. yay.
* updated `teamcity agent` image. * updated `teamcity agent` image.
------------------------------------------------------------------- -------------------------------------------------------------------
### 2020 ## 2020
* `december` * `december`
* added mattermost * added mattermost
* fixed some images * fixed some images
@ -192,6 +198,8 @@
* switched `qbittorrent` images to `edge` * switched `qbittorrent` images to `edge`
* switched final `balancer` image to `edge` * switched final `balancer` image to `edge`
* reduced containers size by switching to `debian-slim` base-image. * reduced containers size by switching to `debian-slim` base-image.
-------------------------------------------------------------------
## 2019
* 12/13/2019 * 12/13/2019
* updated `teamcity agent`. added `php 7.3` support. * updated `teamcity agent`. added `php 7.3` support.
* fixed `nginx` image. * fixed `nginx` image.
@ -305,4 +313,6 @@
* default preinstalled packages to `balancer` and `websites` containers: `ca-certificates`, `apt-transport-https`, `mc`, `iputils-ping` and some other. * default preinstalled packages to `balancer` and `websites` containers: `ca-certificates`, `apt-transport-https`, `mc`, `iputils-ping` and some other.
* added support for additional locales to `balancer` and `websites` containers (default is `en_US.UTF-8`). * added support for additional locales to `balancer` and `websites` containers (default is `en_US.UTF-8`).
* apt sources switched to `Yandex-Mirror`. * apt sources switched to `Yandex-Mirror`.
-------------------------------------------------------------------
## 2018
* 01/01/1970 - see commit history. sorry. * 01/01/1970 - see commit history. sorry.

View File

@ -1,4 +1,4 @@
VERSION = "2022.09.09" VERSION = "2022.11.14"
AUTHOR = "EpicMorg" AUTHOR = "EpicMorg"
MODIFIED = "STAM" MODIFIED = "STAM"
DOCKER_SCAN_SUGGEST = false DOCKER_SCAN_SUGGEST = false
@ -48,10 +48,10 @@ docker-clean:
docker system prune -af docker system prune -af
images: images:
# make docker-clean
make advanced-images make advanced-images
make ecosystem-images make ecosystem-images
# make docker-clean # make docker-clean
# make docker-clean
advanced-images: advanced-images:
@echo "=======================================" @echo "======================================="
@ -89,8 +89,7 @@ advanced-zabbix-images:
cd `pwd`/linux/advanced/zabbix/latest/snmptraps && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/latest/snmptraps && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/latest/web-mysql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/latest/web-mysql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/latest/web-pgsql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/latest/web-pgsql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/3.0/agent && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/3.0/agent && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/3.0/java-gateway && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/3.0/java-gateway && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/3.0/proxy-mysql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/3.0/proxy-mysql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/3.0/proxy-sqlite3 && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/3.0/proxy-sqlite3 && pwd && make build && make deploy
@ -99,8 +98,7 @@ advanced-zabbix-images:
cd `pwd`/linux/advanced/zabbix/3.0/snmptraps && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/3.0/snmptraps && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/3.0/web-mysql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/3.0/web-mysql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/3.0/web-pgsql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/3.0/web-pgsql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/4.0/agent && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/4.0/agent && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/4.0/java-gateway && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/4.0/java-gateway && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/4.0/proxy-mysql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/4.0/proxy-mysql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/4.0/proxy-sqlite3 && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/4.0/proxy-sqlite3 && pwd && make build && make deploy
@ -109,8 +107,7 @@ advanced-zabbix-images:
cd `pwd`/linux/advanced/zabbix/4.0/snmptraps && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/4.0/snmptraps && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/4.0/web-mysql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/4.0/web-mysql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/4.0/web-pgsql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/4.0/web-pgsql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/5.0/agent && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/5.0/agent && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/5.0/agent2 && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/5.0/agent2 && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/5.0/java-gateway && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/5.0/java-gateway && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/5.0/proxy-mysql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/5.0/proxy-mysql && pwd && make build && make deploy
@ -120,8 +117,7 @@ advanced-zabbix-images:
cd `pwd`/linux/advanced/zabbix/5.0/snmptraps && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/5.0/snmptraps && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/5.0/web-mysql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/5.0/web-mysql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/5.0/web-pgsql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/5.0/web-pgsql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/5.2/agent && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/5.2/agent && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/5.2/agent2 && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/5.2/agent2 && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/5.2/java-gateway && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/5.2/java-gateway && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/5.2/proxy-mysql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/5.2/proxy-mysql && pwd && make build && make deploy
@ -131,8 +127,7 @@ advanced-zabbix-images:
cd `pwd`/linux/advanced/zabbix/5.2/snmptraps && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/5.2/snmptraps && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/5.2/web-mysql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/5.2/web-mysql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/5.2/web-pgsql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/5.2/web-pgsql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/5.4/agent && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/5.4/agent && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/5.4/agent2 && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/5.4/agent2 && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/5.4/java-gateway && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/5.4/java-gateway && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/5.4/proxy-mysql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/5.4/proxy-mysql && pwd && make build && make deploy
@ -142,8 +137,7 @@ advanced-zabbix-images:
cd `pwd`/linux/advanced/zabbix/5.4/snmptraps && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/5.4/snmptraps && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/5.4/web-mysql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/5.4/web-mysql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/5.4/web-pgsql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/5.4/web-pgsql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.0/agent && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.0/agent && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.0/agent2 && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/6.0/agent2 && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.0/java-gateway && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/6.0/java-gateway && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.0/proxy-mysql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/6.0/proxy-mysql && pwd && make build && make deploy
@ -153,8 +147,7 @@ advanced-zabbix-images:
cd `pwd`/linux/advanced/zabbix/6.0/snmptraps && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/6.0/snmptraps && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.0/web-mysql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/6.0/web-mysql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.0/web-pgsql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/6.0/web-pgsql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.2/agent && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.2/agent && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.2/agent2 && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/6.2/agent2 && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.2/java-gateway && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/6.2/java-gateway && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.2/proxy-mysql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/6.2/proxy-mysql && pwd && make build && make deploy
@ -164,18 +157,16 @@ advanced-zabbix-images:
cd `pwd`/linux/advanced/zabbix/6.2/snmptraps && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/6.2/snmptraps && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.2/web-mysql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/6.2/web-mysql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.2/web-pgsql && pwd && make build && make deploy cd `pwd`/linux/advanced/zabbix/6.2/web-pgsql && pwd && make build && make deploy
# cd `pwd`/linux/advanced/zabbix/6.4/agent && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.4/agent && pwd && make build && make deploy # cd `pwd`/linux/advanced/zabbix/6.4/agent2 && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.4/agent2 && pwd && make build && make deploy # cd `pwd`/linux/advanced/zabbix/6.4/java-gateway && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.4/java-gateway && pwd && make build && make deploy # cd `pwd`/linux/advanced/zabbix/6.4/proxy-mysql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.4/proxy-mysql && pwd && make build && make deploy # cd `pwd`/linux/advanced/zabbix/6.4/proxy-sqlite3 && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.4/proxy-sqlite3 && pwd && make build && make deploy # cd `pwd`/linux/advanced/zabbix/6.4/server-mysql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.4/server-mysql && pwd && make build && make deploy # cd `pwd`/linux/advanced/zabbix/6.4/server-pgsql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.4/server-pgsql && pwd && make build && make deploy # cd `pwd`/linux/advanced/zabbix/6.4/snmptraps && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.4/snmptraps && pwd && make build && make deploy # cd `pwd`/linux/advanced/zabbix/6.4/web-mysql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.4/web-mysql && pwd && make build && make deploy # cd `pwd`/linux/advanced/zabbix/6.4/web-pgsql && pwd && make build && make deploy
cd `pwd`/linux/advanced/zabbix/6.4/web-pgsql && pwd && make build && make deploy
advanced-nextcloud-images: advanced-nextcloud-images:
cd `pwd`/linux/advanced/nextcloud/pure/14 && pwd && make build && make deploy cd `pwd`/linux/advanced/nextcloud/pure/14 && pwd && make build && make deploy
@ -189,6 +180,7 @@ advanced-nextcloud-images:
cd `pwd`/linux/advanced/nextcloud/pure/22 && pwd && make build && make deploy cd `pwd`/linux/advanced/nextcloud/pure/22 && pwd && make build && make deploy
cd `pwd`/linux/advanced/nextcloud/pure/23 && pwd && make build && make deploy cd `pwd`/linux/advanced/nextcloud/pure/23 && pwd && make build && make deploy
cd `pwd`/linux/advanced/nextcloud/pure/24 && pwd && make build && make deploy cd `pwd`/linux/advanced/nextcloud/pure/24 && pwd && make build && make deploy
cd `pwd`/linux/advanced/nextcloud/pure/25 && pwd && make build && make deploy
advanced-nextcloud-patched-images: advanced-nextcloud-patched-images:
cd `pwd`/linux/advanced/nextcloud/patched/14 && pwd && make build && make deploy cd `pwd`/linux/advanced/nextcloud/patched/14 && pwd && make build && make deploy
@ -215,6 +207,7 @@ ecosystem-images:
make ecosystem-vk2discord-images make ecosystem-vk2discord-images
make ecosystem-postgres-images make ecosystem-postgres-images
make ecosystem-teamcity-agent-images make ecosystem-teamcity-agent-images
make ecosystem-gitlab-runner-images
make ecosystem-nginx-images make ecosystem-nginx-images
make ecosystem-vscode-server-images make ecosystem-vscode-server-images
@ -230,6 +223,7 @@ ecosystem-pyhton-images-main:
cd `pwd`/linux/ecosystem/epicmorg/python/main/3.9 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/python/main/3.9 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/python/main/3.10 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/python/main/3.10 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/python/main/3.11 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/python/main/3.11 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/python/main/3.12 && pwd && make build && make deploy
ecosystem-pyhton-images-develop: ecosystem-pyhton-images-develop:
cd `pwd`/linux/ecosystem/epicmorg/python/develop/2.7 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/python/develop/2.7 && pwd && make build && make deploy
@ -239,6 +233,7 @@ ecosystem-pyhton-images-develop:
cd `pwd`/linux/ecosystem/epicmorg/python/develop/3.9 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/python/develop/3.9 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/python/develop/3.10 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/python/develop/3.10 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/python/develop/3.11 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/python/develop/3.11 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/epicmorg/python/develop/3.12 && pwd && make build && make deploy
ecosystem-debian-images: ecosystem-debian-images:
make ecosystem-debian-squeeze-images make ecosystem-debian-squeeze-images
@ -441,8 +436,27 @@ ecosystem-teamcity-agent-images:
cd `pwd`/linux/ecosystem/teamcity/agent/php7.3 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/teamcity/agent/php7.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/teamcity/agent/php7.4 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/teamcity/agent/php7.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/teamcity/agent/php8.0 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/teamcity/agent/php8.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/teamcity/agent/php8.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/teamcity/agent/steam-sdk && pwd && make build && make deploy cd `pwd`/linux/ecosystem/teamcity/agent/steam-sdk && pwd && make build && make deploy
ecosystem-gitlab-runner-images:
cd `pwd`/linux/ecosystem/gitlab/runner/latest && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/gitlab/runner/amxx-sdk && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/gitlab/runner/android-sdk && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/gitlab/runner/atlassian-sdk && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/gitlab/runner/dotnet-sdk && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/gitlab/runner/node12 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/gitlab/runner/node14 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/gitlab/runner/node15 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/gitlab/runner/node16 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/gitlab/runner/node17 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/gitlab/runner/node18 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/gitlab/runner/php7.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/gitlab/runner/php7.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/gitlab/runner/php7.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/gitlab/runner/php8.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/gitlab/runner/steam-sdk && pwd && make build && make deploy
ecosystem-nginx-images: ecosystem-nginx-images:
cd `pwd`/linux/ecosystem/nginx/latest/mainline/main && pwd && make build && make deploy cd `pwd`/linux/ecosystem/nginx/latest/mainline/main && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nginx/latest/mainline/php && pwd && make build && make deploy cd `pwd`/linux/ecosystem/nginx/latest/mainline/php && pwd && make build && make deploy
@ -502,7 +516,12 @@ bundle-teamcity:
@echo "===== Building TeamCity images =====" @echo "===== Building TeamCity images ====="
@echo "=======================================" @echo "======================================="
make advanced-teamcity-server-images make advanced-teamcity-server-images
make ecosystem-teamcity-agent-images
bundle-gitlab:
@echo "======================================="
@echo "===== Building GitLab images ====="
@echo "======================================="
make ecosystem-gitlab-runner-images
bundle-atlassian: bundle-atlassian:
@echo "=======================================" @echo "======================================="

View File

@ -26,6 +26,7 @@ A collection of docker images for production use. This repo contains 2 types of
| ` ` | [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20EcoSystem%20TeamCity%20Agents%20Images?label=TeamCity%20Agents%20Images&logo=TeamCity%20Agents%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.base.images.teamcity.agents.yml) | ` ` | [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20EcoSystem%20TeamCity%20Agents%20Images?label=TeamCity%20Agents%20Images&logo=TeamCity%20Agents%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.base.images.teamcity.agents.yml)
| ` ` | [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20EcoSystem%20Testrail%20Images?label=Testrail%20Images&logo=Testrail%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.base.images.testrail.yml) | ` ` | [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20EcoSystem%20Testrail%20Images?label=Testrail%20Images&logo=Testrail%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.base.images.testrail.yml)
| ` ` | [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20EcoSystem%20Web%20Images?label=Web%20Images&logo=Web%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.base.images.web.yml) | ` ` | [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20EcoSystem%20Web%20Images?label=Web%20Images&logo=Web%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.base.images.web.yml)
| ` ` | [![GHA](https://img.shields.io/github/workflow/status/EpicMorg/docker-scripts/EpicMorg%20EcoSystem%20Gitlab%20Runner%20Images?label=Gitlab%20Runner%20Images&logo=Gitlab%20Runner%20Images&style=flat-square)](https://github.com/EpicMorg/docker-scripts/actions/workflows/epicmorg.base.images.giltab.runners.yml)
# Few popular products [![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/B0B81CUI4) # Few popular products [![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/B0B81CUI4)

View File

@ -117,6 +117,22 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin ${P4_DOWNLOAD_URL} && \ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin ${P4_DOWNLOAD_URL} && \
chmod +x /usr/bin/p4 chmod +x /usr/bin/p4
##################################################################
# dumb init
##################################################################
ENV DUMB_INIT_VERSION=1.2.5
RUN wget -q --no-check-certificate -c https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64 --random-wait -O /usr/bin/dumb-init && \
chmod +x /usr/bin/dumb-init && \
dumb-init --version
##################################################################
# grab gosu for easy step-down from root
##################################################################
ENV GOSU_VER 1.14
RUN wget -q --no-check-certificate -c https://github.com/tianon/gosu/releases/download/${GOSU_VER}/gosu-amd64 --random-wait -O /usr/local/bin/gosu && \
chmod +x /usr/local/bin/gosu && \
gosu --version
################################################################## ##################################################################
# Generate ssl key # Generate ssl key
################################################################## ##################################################################

View File

@ -135,6 +135,22 @@ RUN wget -c https://cli.github.com/packages/githubcli-archive-keyring.gpg -O /et
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin ${P4_DOWNLOAD_URL} && \ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin ${P4_DOWNLOAD_URL} && \
chmod +x /usr/bin/p4 chmod +x /usr/bin/p4
##################################################################
# dumb init
##################################################################
ENV DUMB_INIT_VERSION=1.2.5
RUN wget -q --no-check-certificate -c https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64 --random-wait -O /usr/bin/dumb-init && \
chmod +x /usr/bin/dumb-init && \
dumb-init --version
##################################################################
# grab gosu for easy step-down from root
##################################################################
ENV GOSU_VER 1.14
RUN wget -q --no-check-certificate -c https://github.com/tianon/gosu/releases/download/${GOSU_VER}/gosu-amd64 --random-wait -O /usr/local/bin/gosu && \
chmod +x /usr/local/bin/gosu && \
gosu --version
################################################################## ##################################################################
# Generate ssl key # Generate ssl key
################################################################## ##################################################################

View File

@ -135,6 +135,7 @@ RUN apt-get update && \
git \ git \
git-lfs && \ git-lfs && \
git --version && \ git --version && \
git-lfs install --skip-repo && \
git-lfs --version git-lfs --version
################################################################## ##################################################################
@ -154,6 +155,22 @@ RUN wget -c https://cli.github.com/packages/githubcli-archive-keyring.gpg -O /et
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin ${P4_DOWNLOAD_URL} && \ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin ${P4_DOWNLOAD_URL} && \
chmod +x /usr/bin/p4 chmod +x /usr/bin/p4
##################################################################
# dumb init
##################################################################
ENV DUMB_INIT_VERSION=1.2.5
RUN wget -q --no-check-certificate -c https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64 --random-wait -O /usr/bin/dumb-init && \
chmod +x /usr/bin/dumb-init && \
dumb-init --version
##################################################################
# grab gosu for easy step-down from root
##################################################################
ENV GOSU_VER 1.14
RUN wget -q --no-check-certificate -c https://github.com/tianon/gosu/releases/download/${GOSU_VER}/gosu-amd64 --random-wait -O /usr/local/bin/gosu && \
chmod +x /usr/local/bin/gosu && \
gosu --version
################################################################## ##################################################################
# Generate ssl key # Generate ssl key
################################################################## ##################################################################

View File

@ -150,6 +150,7 @@ RUN apt-get update && \
git \ git \
git-lfs && \ git-lfs && \
git --version && \ git --version && \
git-lfs install --skip-repo && \
git-lfs --version git-lfs --version
################################################################## ##################################################################
@ -191,6 +192,22 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
echo "lazygit version:" && \ echo "lazygit version:" && \
lazygit --version lazygit --version
##################################################################
# dumb init
##################################################################
ENV DUMB_INIT_VERSION=1.2.5
RUN wget -q --no-check-certificate -c https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64 --random-wait -O /usr/bin/dumb-init && \
chmod +x /usr/bin/dumb-init && \
dumb-init --version
##################################################################
# grab gosu for easy step-down from root
##################################################################
ENV GOSU_VER 1.14
RUN wget -q --no-check-certificate -c https://github.com/tianon/gosu/releases/download/${GOSU_VER}/gosu-amd64 --random-wait -O /usr/local/bin/gosu && \
chmod +x /usr/local/bin/gosu && \
gosu --version
################################################################## ##################################################################
# Generate ssl key # Generate ssl key
################################################################## ##################################################################

View File

@ -151,6 +151,7 @@ RUN apt-get update && \
git \ git \
git-lfs && \ git-lfs && \
git --version && \ git --version && \
git-lfs install --skip-repo && \
git-lfs --version git-lfs --version
################################################################## ##################################################################
@ -192,6 +193,23 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
echo "lazygit version:" && \ echo "lazygit version:" && \
lazygit --version lazygit --version
##################################################################
# dumb init
##################################################################
ENV DUMB_INIT_VERSION=1.2.5
RUN wget -q --no-check-certificate -c https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64 --random-wait -O /usr/bin/dumb-init && \
chmod +x /usr/bin/dumb-init && \
dumb-init --version
##################################################################
# grab gosu for easy step-down from root
##################################################################
ENV GOSU_VER 1.14
RUN wget -q --no-check-certificate -c https://github.com/tianon/gosu/releases/download/${GOSU_VER}/gosu-amd64 --random-wait -O /usr/local/bin/gosu && \
chmod +x /usr/local/bin/gosu && \
gosu --version
################################################################## ##################################################################
# Generate ssl key # Generate ssl key
################################################################## ##################################################################

View File

@ -150,6 +150,7 @@ RUN apt-get update && \
git \ git \
git-lfs && \ git-lfs && \
git --version && \ git --version && \
git-lfs install --skip-repo && \
git-lfs --version git-lfs --version
################################################################## ##################################################################
@ -191,6 +192,22 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
echo "lazygit version:" && \ echo "lazygit version:" && \
lazygit --version lazygit --version
##################################################################
# dumb init
##################################################################
ENV DUMB_INIT_VERSION=1.2.5
RUN wget -q --no-check-certificate -c https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64 --random-wait -O /usr/bin/dumb-init && \
chmod +x /usr/bin/dumb-init && \
dumb-init --version
##################################################################
# grab gosu for easy step-down from root
##################################################################
ENV GOSU_VER 1.14
RUN wget -q --no-check-certificate -c https://github.com/tianon/gosu/releases/download/${GOSU_VER}/gosu-amd64 --random-wait -O /usr/local/bin/gosu && \
chmod +x /usr/local/bin/gosu && \
gosu --version
################################################################## ##################################################################
# Generate ssl key # Generate ssl key
################################################################## ##################################################################

View File

@ -150,6 +150,7 @@ RUN apt-get update && \
git \ git \
git-lfs && \ git-lfs && \
git --version && \ git --version && \
git-lfs install --skip-repo && \
git-lfs --version git-lfs --version
################################################################## ##################################################################
@ -191,6 +192,22 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
echo "lazygit version:" && \ echo "lazygit version:" && \
lazygit --version lazygit --version
##################################################################
# dumb init
##################################################################
ENV DUMB_INIT_VERSION=1.2.5
RUN wget -q --no-check-certificate -c https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64 --random-wait -O /usr/bin/dumb-init && \
chmod +x /usr/bin/dumb-init && \
dumb-init --version
##################################################################
# grab gosu for easy step-down from root
##################################################################
ENV GOSU_VER 1.14
RUN wget -q --no-check-certificate -c https://github.com/tianon/gosu/releases/download/${GOSU_VER}/gosu-amd64 --random-wait -O /usr/local/bin/gosu && \
chmod +x /usr/local/bin/gosu && \
gosu --version
################################################################## ##################################################################
# Generate ssl key # Generate ssl key
################################################################## ##################################################################

View File

@ -0,0 +1,148 @@
FROM epicmorg/python:3.12
ARG DEBIAN_FRONTEND=noninteractive
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
##################################################################
# ARGuments
##################################################################
ENV BuildDocker true
ENV GOPATH=/go
ENV PATH="${GOPATH}/bin:${PATH}"
ARG BUILDS_DIR=/builds
ARG SRC_DIR=${BUILDS_DIR}/src
ARG EXPORT_DIR=${BUILDS_DIR}/export
ARG NINJA_ARCH=linux
ARG NINJA_VERSION=latest
ARG NINJA_RELEASE_URL=https://api.github.com/repos/ninja-build/ninja/releases/${NINJA_VERSION}
##################################################################
# Files and folders
##################################################################
RUN mkdir -p ${SRC_DIR} ${EXPORT_DIR} ${PRE_DIR}
##################################################################
# Version
##################################################################
RUN python3 --version
RUN pip3 --version
RUN python --version
RUN pip --version
##################################################################
# installing
##################################################################
RUN apt-get update && \
apt install -y --allow-unauthenticated --allow-downgrades \
build-essential \
autoconf-archive \
gnu-standards \
cmake \
libunwind-dev \
golang \
at \
autopkgtest \
gcc-multilib \
g++-multilib \
libxkbcommon-dev \
zlib1g-dev \
libfreetype6-dev \
libegl1-mesa-dev \
libgles2-mesa-dev \
libgbm-dev \
uuid-dev \
nvidia-cg-toolkit \
nvidia-cg-dev \
libavcodec-dev \
libsdl2-dev \
libsdl-image1.2-dev \
libxml2-dev \
yasm \
devscripts \
automake \
libtool \
autotools-dev \
dpkg-dev \
fakeroot \
checkinstall \
dh-make \
zlib1g \
zlib1g-dev \
libssl-dev \
libxslt-dev \
libgd-dev \
libpcre3-dev \
libgeoip-dev \
libkrb5-dev \
libperl-dev \
krb5-user \
luajit \
liblua5.1-0-dev \
libmaxminddb-dev \
libpam0g-dev \
libldap2-dev \
libavformat-dev \
libavfilter-dev \
libswscale-dev \
libavcodec-dev \
libz-dev \
libhiredis-dev \
libzip-dev \
libcrypto++-dev \
libbz2-dev \
libvpx-dev \
libvpx6 \
tcl \
g++ \
gcc \
libc6-dev \
make \
pkg-config \
golang \
golang-go \
python-dev \
python3-all-dev \
g++-multilib \
autoconf \
automake \
libtool \
gdb \
strace
##################################################################
# GO compillers
##################################################################
RUN printf "\n--------------------------------\n$(go version)\n--------------------------------\n\n"
##################################################################
# Get NINJA binary
##################################################################
RUN curl -s ${NINJA_RELEASE_URL} | jq -r ".assets[] | select(.name | test(\"${NINJA_ARCH}\")) | .browser_download_url" > /tmp/ninja-url.txt && \
cat /tmp/ninja-url.txt && \
cd /tmp && \
wget -q -c --input-file=/tmp/ninja-url.txt && \
unzip -o /tmp/ninja-linux.zip -d /bin && \
printf "\n--------------------------------\nninja version: $(ninja --version)\n--------------------------------\n\n"
##################################################################
# Version
##################################################################
RUN python3 --version
RUN pip3 --version
RUN python --version
RUN pip --version
##################################################################
# update locales
##################################################################
RUN locale-gen
##################################################################
# cleanup
##################################################################
RUN apt-get purge policykit-1 -y && \
apt-get clean -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /tmp/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/python:3.11-develop"
build:
context: .

View File

@ -200,6 +200,7 @@ RUN apt-get update && \
git \ git \
git-lfs && \ git-lfs && \
git --version && \ git --version && \
git-lfs install --skip-repo && \
git-lfs --version git-lfs --version
################################################################## ##################################################################

View File

@ -204,6 +204,7 @@ RUN apt-get update && \
git \ git \
git-lfs && \ git-lfs && \
git --version && \ git --version && \
git-lfs install --skip-repo && \
git-lfs --version git-lfs --version
################################################################## ##################################################################

View File

@ -1,4 +1,4 @@
FROM python:3.11-rc-bullseye FROM python:3.11-bullseye
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
@ -195,6 +195,7 @@ RUN apt-get update && \
git \ git \
git-lfs && \ git-lfs && \
git --version && \ git --version && \
git-lfs install --skip-repo && \
git-lfs --version git-lfs --version
################################################################## ##################################################################

View File

@ -0,0 +1,258 @@
FROM python:3.12-rc-bullseye
ARG DEBIAN_FRONTEND=noninteractive
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
##################################################################
# prepare system
##################################################################
RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
##################################################################
# sources list
##################################################################
RUN rm -rfv /etc/apt/sources.list
RUN rm -rfv /etc/locale.gen
COPY etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg /etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg
COPY etc/apt/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until
COPY etc/apt/sources.list /etc/apt/sources.list
COPY etc/locale.gen /etc/locale.gen
RUN apt-get update && \
apt-get upgrade -y && \
apt-get dist-upgrade -y
##################################################################
# installing utils
##################################################################
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
apt-get install -y --allow-unauthenticated \
apt-transport-https \
apt-utils \
gnupg \
gnupg1 \
gnupg2 \
aptitude \
bash \
binutils \
console-cyrillic \
ca-certificates \
locales \
software-properties-common \
sudo
RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys
RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | xargs -n1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
RUN update-ca-certificates
##################################################################
# perforce client binary
##################################################################
ENV P4_VERSION=r22.1
ENV P4_DOWNLOAD_URL=http://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
##################################################################
# 7z official binary
##################################################################
ENV SZ_VERSION=7z2200
ENV SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
##################################################################
# LazyGit official binary
##################################################################
ENV LZGIT_VERSION=0.34
ENV LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz
##################################################################
# update lists
##################################################################
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
apt-get update
##################################################################
# installing utils
##################################################################
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
apt-get install -y --allow-unauthenticated \
bzip2 \
cmatrix \
cmatrix-xfont \
cron \
curl \
clzip \
dos2unix \
ffmpeg \
fontconfig \
git \
git-extras \
git-flow \
git-cvs \
git-doc \
git-email \
git-mediawiki \
git-crypt \
git-lfs \
git-ftp \
gnupg \
gnupg2 \
graphicsmagick \
gzip \
htop \
iftop \
iotop \
iperf \
iperf3 \
iputils-ping \
jq \
kmod \
libxml2-dev \
libxml2-utils \
lbzip2 \
libsvn-java \
locales \
lsb-release \
lsof \
lynx \
lzma \
lzip \
lzop \
mc \
mercurial \
nano \
nload \
nmap \
openssl \
perl \
procps \
pbzip2 \
plzip \
p7zip-full \
p7zip-rar \
rsync \
rar \
screenfetch \
smbclient \
subversion \
telnet \
tmux \
tree \
util-linux \
uuid-runtime \
unrar \
xz-utils \
wget \
zip \
tini \
libzip4 \
acl \
aptitude \
sudo \
cvs \
python3-pip \
python3-all \
python-all \
rclone \
logrotate \
subversion-tools \
pev
##################################################################
# installing fs-tools
##################################################################
#RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
# apt-get install -y --allow-unauthenticated \
# btrfs-progs \
# exfat-utils \
# e2fsprogs \
# f2fs-tools \
# dosfstools \
# hfsutils \
# hfsprogs \
# jfsutils \
# mdadm \
# util-linux \
# cryptsetup \
# lvm2 \
# nilfs-tools \
# ntfs-3g \
# reiser4progs \
# reiserfsprogs \
# udftools \
# xfsprogs \
# xfsdump
##################################################################
# git-lfs official binary
##################################################################
#RUN curl -s https://packagecloud.io/github/git-lfs/gpgkey | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/git-lfs.gpg --import && \
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list
COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
RUN apt-get update && \
apt-get install -y --allow-unauthenticated \
git \
git-lfs && \
git --version && \
git-lfs install --skip-repo && \
git-lfs --version
##################################################################
# gh official binary
##################################################################
RUN wget -c https://cli.github.com/packages/githubcli-archive-keyring.gpg -O /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
chmod go+r /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list && \
apt-get update && \
apt-get install -y --allow-unauthenticated \
gh && \
gh --version
##################################################################
# Install p4client
##################################################################
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -P /usr/bin ${P4_DOWNLOAD_URL} && \
chmod +x /usr/bin/p4
##################################################################
# Install 7z official binary
##################################################################
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -O /tmp/7z.tar.xz ${SZ_DOWNLOAD_URL} && \
mkdir -p /tmp/7z && \
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
chmod +x /tmp/7z/7zz && \
mv -fv /tmp/7z/7zz /usr/bin/ && \
7zz | head -4 && \
7z | head -4
##################################################################
# Install LazyGit official binary
##################################################################
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue -O /tmp/lazygit.tar.xz ${LZGIT_DOWNLOAD_URL} && \
mkdir -p /tmp/lazygit && \
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
chmod +x /tmp/lazygit/lazygit && \
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \
echo "lazygit version:" && \
lazygit --version
##################################################################
# Generate ssl key
##################################################################
#RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
##################################################################
# update locales
##################################################################
RUN locale-gen
##################################################################
# cleanup
##################################################################
RUN apt-get purge policykit-1 -y && \
apt-get clean -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /tmp/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/python:3.12"
build:
context: .

View File

@ -0,0 +1 @@
Acquire::Check-Valid-Until no;

View File

@ -0,0 +1,22 @@
#main
deb http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports-sloppy main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
#security
deb http://security.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src http://security.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free

View File

@ -0,0 +1,2 @@
deb https://packagecloud.io/github/git-lfs/debian/ bullseye main
deb-src https://packagecloud.io/github/git-lfs/debian/ bullseye main

View File

@ -0,0 +1,12 @@
en_GB.UTF-8 UTF-8
en_GB ISO-8859-1
en_GB.ISO-8859-15 ISO-8859-15
en_US.UTF-8 UTF-8
en_US ISO-8859-1
en_US.ISO-8859-15 ISO-8859-15
ru_RU.UTF-8 UTF-8
ru_RU.KOI8-R KOI8-R
ru_RU ISO-8859-5
ru_RU.CP1251 CP1251
ru_UA.UTF-8 UTF-8
ru_UA KOI8-U

View File

@ -0,0 +1,496 @@
aa_DJ.UTF-8 UTF-8
aa_DJ ISO-8859-1
aa_ER UTF-8
aa_ER@saaho UTF-8
aa_ET UTF-8
af_ZA.UTF-8 UTF-8
af_ZA ISO-8859-1
agr_PE UTF-8
ak_GH UTF-8
am_ET UTF-8
an_ES.UTF-8 UTF-8
an_ES ISO-8859-15
anp_IN UTF-8
ar_AE.UTF-8 UTF-8
ar_AE ISO-8859-6
ar_BH.UTF-8 UTF-8
ar_BH ISO-8859-6
ar_DZ.UTF-8 UTF-8
ar_DZ ISO-8859-6
ar_EG.UTF-8 UTF-8
ar_EG ISO-8859-6
ar_IN UTF-8
ar_IQ.UTF-8 UTF-8
ar_IQ ISO-8859-6
ar_JO.UTF-8 UTF-8
ar_JO ISO-8859-6
ar_KW.UTF-8 UTF-8
ar_KW ISO-8859-6
ar_LB.UTF-8 UTF-8
ar_LB ISO-8859-6
ar_LY.UTF-8 UTF-8
ar_LY ISO-8859-6
ar_MA.UTF-8 UTF-8
ar_MA ISO-8859-6
ar_OM.UTF-8 UTF-8
ar_OM ISO-8859-6
ar_QA.UTF-8 UTF-8
ar_QA ISO-8859-6
ar_SA.UTF-8 UTF-8
ar_SA ISO-8859-6
ar_SD.UTF-8 UTF-8
ar_SD ISO-8859-6
ar_SS UTF-8
ar_SY.UTF-8 UTF-8
ar_SY ISO-8859-6
ar_TN.UTF-8 UTF-8
ar_TN ISO-8859-6
ar_YE.UTF-8 UTF-8
ar_YE ISO-8859-6
ayc_PE UTF-8
az_AZ UTF-8
az_IR UTF-8
as_IN UTF-8
ast_ES.UTF-8 UTF-8
ast_ES ISO-8859-15
be_BY.UTF-8 UTF-8
be_BY CP1251
be_BY@latin UTF-8
bem_ZM UTF-8
ber_DZ UTF-8
ber_MA UTF-8
bg_BG.UTF-8 UTF-8
bg_BG CP1251
bhb_IN.UTF-8 UTF-8
bho_IN UTF-8
bho_NP UTF-8
bi_VU UTF-8
bn_BD UTF-8
bn_IN UTF-8
bo_CN UTF-8
bo_IN UTF-8
br_FR.UTF-8 UTF-8
br_FR ISO-8859-1
br_FR@euro ISO-8859-15
brx_IN UTF-8
bs_BA.UTF-8 UTF-8
bs_BA ISO-8859-2
byn_ER UTF-8
ca_AD.UTF-8 UTF-8
ca_AD ISO-8859-15
ca_ES.UTF-8 UTF-8
ca_ES ISO-8859-1
ca_ES@euro ISO-8859-15
ca_ES@valencia UTF-8
ca_FR.UTF-8 UTF-8
ca_FR ISO-8859-15
ca_IT.UTF-8 UTF-8
ca_IT ISO-8859-15
ce_RU UTF-8
chr_US UTF-8
cmn_TW UTF-8
crh_UA UTF-8
cs_CZ.UTF-8 UTF-8
cs_CZ ISO-8859-2
csb_PL UTF-8
cv_RU UTF-8
cy_GB.UTF-8 UTF-8
cy_GB ISO-8859-14
da_DK.UTF-8 UTF-8
da_DK ISO-8859-1
de_AT.UTF-8 UTF-8
de_AT ISO-8859-1
de_AT@euro ISO-8859-15
de_BE.UTF-8 UTF-8
de_BE ISO-8859-1
de_BE@euro ISO-8859-15
de_CH.UTF-8 UTF-8
de_CH ISO-8859-1
de_DE.UTF-8 UTF-8
de_DE ISO-8859-1
de_DE@euro ISO-8859-15
de_IT.UTF-8 UTF-8
de_IT ISO-8859-1
de_LI.UTF-8 UTF-8
de_LU.UTF-8 UTF-8
de_LU ISO-8859-1
de_LU@euro ISO-8859-15
doi_IN UTF-8
dsb_DE UTF-8
dv_MV UTF-8
dz_BT UTF-8
el_GR.UTF-8 UTF-8
el_GR ISO-8859-7
el_GR@euro ISO-8859-7
el_CY.UTF-8 UTF-8
el_CY ISO-8859-7
en_AG UTF-8
en_AU.UTF-8 UTF-8
en_AU ISO-8859-1
en_BW.UTF-8 UTF-8
en_BW ISO-8859-1
en_CA.UTF-8 UTF-8
en_CA ISO-8859-1
en_DK.UTF-8 UTF-8
en_DK.ISO-8859-15 ISO-8859-15
en_DK ISO-8859-1
en_GB.UTF-8 UTF-8
en_GB ISO-8859-1
en_GB.ISO-8859-15 ISO-8859-15
en_HK.UTF-8 UTF-8
en_HK ISO-8859-1
en_IE.UTF-8 UTF-8
en_IE ISO-8859-1
en_IE@euro ISO-8859-15
en_IL UTF-8
en_IN UTF-8
en_NG UTF-8
en_NZ.UTF-8 UTF-8
en_NZ ISO-8859-1
en_PH.UTF-8 UTF-8
en_PH ISO-8859-1
en_SC.UTF-8 UTF-8
en_SG.UTF-8 UTF-8
en_SG ISO-8859-1
en_US.UTF-8 UTF-8
en_US ISO-8859-1
en_US.ISO-8859-15 ISO-8859-15
en_ZA.UTF-8 UTF-8
en_ZA ISO-8859-1
en_ZM UTF-8
en_ZW.UTF-8 UTF-8
en_ZW ISO-8859-1
eo UTF-8
es_AR.UTF-8 UTF-8
es_AR ISO-8859-1
es_BO.UTF-8 UTF-8
es_BO ISO-8859-1
es_CL.UTF-8 UTF-8
es_CL ISO-8859-1
es_CO.UTF-8 UTF-8
es_CO ISO-8859-1
es_CR.UTF-8 UTF-8
es_CR ISO-8859-1
es_CU UTF-8
es_DO.UTF-8 UTF-8
es_DO ISO-8859-1
es_EC.UTF-8 UTF-8
es_EC ISO-8859-1
es_ES.UTF-8 UTF-8
es_ES ISO-8859-1
es_ES@euro ISO-8859-15
es_GT.UTF-8 UTF-8
es_GT ISO-8859-1
es_HN.UTF-8 UTF-8
es_HN ISO-8859-1
es_MX.UTF-8 UTF-8
es_MX ISO-8859-1
es_NI.UTF-8 UTF-8
es_NI ISO-8859-1
es_PA.UTF-8 UTF-8
es_PA ISO-8859-1
es_PE.UTF-8 UTF-8
es_PE ISO-8859-1
es_PR.UTF-8 UTF-8
es_PR ISO-8859-1
es_PY.UTF-8 UTF-8
es_PY ISO-8859-1
es_SV.UTF-8 UTF-8
es_SV ISO-8859-1
es_US.UTF-8 UTF-8
es_US ISO-8859-1
es_UY.UTF-8 UTF-8
es_UY ISO-8859-1
es_VE.UTF-8 UTF-8
es_VE ISO-8859-1
et_EE.UTF-8 UTF-8
et_EE ISO-8859-1
et_EE.ISO-8859-15 ISO-8859-15
eu_ES.UTF-8 UTF-8
eu_ES ISO-8859-1
eu_ES@euro ISO-8859-15
eu_FR.UTF-8 UTF-8
eu_FR ISO-8859-1
eu_FR@euro ISO-8859-15
fa_IR UTF-8
ff_SN UTF-8
fi_FI.UTF-8 UTF-8
fi_FI ISO-8859-1
fi_FI@euro ISO-8859-15
fil_PH UTF-8
fo_FO.UTF-8 UTF-8
fo_FO ISO-8859-1
fr_BE.UTF-8 UTF-8
fr_BE ISO-8859-1
fr_BE@euro ISO-8859-15
fr_CA.UTF-8 UTF-8
fr_CA ISO-8859-1
fr_CH.UTF-8 UTF-8
fr_CH ISO-8859-1
fr_FR.UTF-8 UTF-8
fr_FR ISO-8859-1
fr_FR@euro ISO-8859-15
fr_LU.UTF-8 UTF-8
fr_LU ISO-8859-1
fr_LU@euro ISO-8859-15
fur_IT UTF-8
fy_NL UTF-8
fy_DE UTF-8
ga_IE.UTF-8 UTF-8
ga_IE ISO-8859-1
ga_IE@euro ISO-8859-15
gd_GB.UTF-8 UTF-8
gd_GB ISO-8859-15
gez_ER UTF-8
gez_ER@abegede UTF-8
gez_ET UTF-8
gez_ET@abegede UTF-8
gl_ES.UTF-8 UTF-8
gl_ES ISO-8859-1
gl_ES@euro ISO-8859-15
gu_IN UTF-8
gv_GB.UTF-8 UTF-8
gv_GB ISO-8859-1
ha_NG UTF-8
hak_TW UTF-8
he_IL.UTF-8 UTF-8
he_IL ISO-8859-8
hi_IN UTF-8
hif_FJ UTF-8
hne_IN UTF-8
hr_HR.UTF-8 UTF-8
hr_HR ISO-8859-2
hsb_DE.UTF-8 UTF-8
hsb_DE ISO-8859-2
ht_HT UTF-8
hu_HU.UTF-8 UTF-8
hu_HU ISO-8859-2
hy_AM UTF-8
hy_AM.ARMSCII-8 ARMSCII-8
ia_FR UTF-8
id_ID.UTF-8 UTF-8
id_ID ISO-8859-1
ig_NG UTF-8
ik_CA UTF-8
is_IS.UTF-8 UTF-8
is_IS ISO-8859-1
it_CH.UTF-8 UTF-8
it_CH ISO-8859-1
it_IT.UTF-8 UTF-8
it_IT ISO-8859-1
it_IT@euro ISO-8859-15
iu_CA UTF-8
ja_JP.UTF-8 UTF-8
ja_JP.EUC-JP EUC-JP
ka_GE.UTF-8 UTF-8
ka_GE GEORGIAN-PS
kab_DZ UTF-8
kk_KZ.UTF-8 UTF-8
kk_KZ PT154
kk_KZ.RK1048 RK1048
kl_GL.UTF-8 UTF-8
kl_GL ISO-8859-1
km_KH UTF-8
kn_IN UTF-8
ko_KR.UTF-8 UTF-8
ko_KR.EUC-KR EUC-KR
kok_IN UTF-8
ks_IN UTF-8
ks_IN@devanagari UTF-8
ku_TR.UTF-8 UTF-8
ku_TR ISO-8859-9
kw_GB.UTF-8 UTF-8
kw_GB ISO-8859-1
ky_KG UTF-8
lb_LU UTF-8
lg_UG.UTF-8 UTF-8
lg_UG ISO-8859-10
li_BE UTF-8
li_NL UTF-8
lij_IT UTF-8
ln_CD UTF-8
lo_LA UTF-8
lt_LT.UTF-8 UTF-8
lt_LT ISO-8859-13
lv_LV.UTF-8 UTF-8
lv_LV ISO-8859-13
lzh_TW UTF-8
mag_IN UTF-8
mai_IN UTF-8
mai_NP UTF-8
mfe_MU UTF-8
mg_MG.UTF-8 UTF-8
mg_MG ISO-8859-15
mhr_RU UTF-8
mi_NZ.UTF-8 UTF-8
mi_NZ ISO-8859-13
miq_NI UTF-8
mjw_IN UTF-8
mk_MK.UTF-8 UTF-8
mk_MK ISO-8859-5
ml_IN UTF-8
mn_MN UTF-8
mni_IN UTF-8
mr_IN UTF-8
ms_MY.UTF-8 UTF-8
ms_MY ISO-8859-1
mt_MT.UTF-8 UTF-8
mt_MT ISO-8859-3
my_MM UTF-8
nan_TW UTF-8
nan_TW@latin UTF-8
nb_NO.UTF-8 UTF-8
nb_NO ISO-8859-1
nds_DE UTF-8
nds_NL UTF-8
ne_NP UTF-8
nhn_MX UTF-8
niu_NU UTF-8
niu_NZ UTF-8
nl_AW UTF-8
nl_BE.UTF-8 UTF-8
nl_BE ISO-8859-1
nl_BE@euro ISO-8859-15
nl_NL.UTF-8 UTF-8
nl_NL ISO-8859-1
nl_NL@euro ISO-8859-15
nn_NO.UTF-8 UTF-8
nn_NO ISO-8859-1
nr_ZA UTF-8
nso_ZA UTF-8
oc_FR.UTF-8 UTF-8
oc_FR ISO-8859-1
om_ET UTF-8
om_KE.UTF-8 UTF-8
om_KE ISO-8859-1
or_IN UTF-8
os_RU UTF-8
pa_IN UTF-8
pa_PK UTF-8
pap_AW UTF-8
pap_CW UTF-8
pl_PL.UTF-8 UTF-8
pl_PL ISO-8859-2
ps_AF UTF-8
pt_BR.UTF-8 UTF-8
pt_BR ISO-8859-1
pt_PT.UTF-8 UTF-8
pt_PT ISO-8859-1
pt_PT@euro ISO-8859-15
quz_PE UTF-8
raj_IN UTF-8
ro_RO.UTF-8 UTF-8
ro_RO ISO-8859-2
ru_RU.UTF-8 UTF-8
ru_RU.KOI8-R KOI8-R
ru_RU ISO-8859-5
ru_RU.CP1251 CP1251
ru_UA.UTF-8 UTF-8
ru_UA KOI8-U
rw_RW UTF-8
sa_IN UTF-8
sah_RU UTF-8
sat_IN UTF-8
sc_IT UTF-8
sd_IN UTF-8
sd_IN@devanagari UTF-8
se_NO UTF-8
sgs_LT UTF-8
shn_MM UTF-8
shs_CA UTF-8
si_LK UTF-8
sid_ET UTF-8
sk_SK.UTF-8 UTF-8
sk_SK ISO-8859-2
sl_SI.UTF-8 UTF-8
sl_SI ISO-8859-2
sm_WS UTF-8
so_DJ.UTF-8 UTF-8
so_DJ ISO-8859-1
so_ET UTF-8
so_KE.UTF-8 UTF-8
so_KE ISO-8859-1
so_SO.UTF-8 UTF-8
so_SO ISO-8859-1
sq_AL.UTF-8 UTF-8
sq_AL ISO-8859-1
sq_MK UTF-8
sr_ME UTF-8
sr_RS UTF-8
sr_RS@latin UTF-8
ss_ZA UTF-8
st_ZA.UTF-8 UTF-8
st_ZA ISO-8859-1
sv_FI.UTF-8 UTF-8
sv_FI ISO-8859-1
sv_FI@euro ISO-8859-15
sv_SE.UTF-8 UTF-8
sv_SE ISO-8859-1
sv_SE.ISO-8859-15 ISO-8859-15
sw_KE UTF-8
sw_TZ UTF-8
szl_PL UTF-8
ta_IN UTF-8
ta_LK UTF-8
tcy_IN.UTF-8 UTF-8
te_IN UTF-8
tg_TJ.UTF-8 UTF-8
tg_TJ KOI8-T
th_TH.UTF-8 UTF-8
th_TH TIS-620
the_NP UTF-8
ti_ER UTF-8
ti_ET UTF-8
tig_ER UTF-8
tk_TM UTF-8
tl_PH.UTF-8 UTF-8
tl_PH ISO-8859-1
tn_ZA UTF-8
to_TO UTF-8
tpi_PG UTF-8
tr_CY.UTF-8 UTF-8
tr_CY ISO-8859-9
tr_TR.UTF-8 UTF-8
tr_TR ISO-8859-9
ts_ZA UTF-8
tt_RU UTF-8
tt_RU@iqtelif UTF-8
ug_CN UTF-8
uk_UA.UTF-8 UTF-8
uk_UA KOI8-U
unm_US UTF-8
ur_IN UTF-8
ur_PK UTF-8
uz_UZ.UTF-8 UTF-8
uz_UZ ISO-8859-1
uz_UZ@cyrillic UTF-8
ve_ZA UTF-8
vi_VN UTF-8
wa_BE.UTF-8 UTF-8
wa_BE ISO-8859-1
wa_BE@euro ISO-8859-15
wae_CH UTF-8
wal_ET UTF-8
wo_SN UTF-8
xh_ZA.UTF-8 UTF-8
xh_ZA ISO-8859-1
yi_US.UTF-8 UTF-8
yi_US CP1255
yo_NG UTF-8
yue_HK UTF-8
yuw_PG UTF-8
zh_CN.UTF-8 UTF-8
zh_CN.GB18030 GB18030
zh_CN.GBK GBK
zh_CN GB2312
zh_HK.UTF-8 UTF-8
zh_HK BIG5-HKSCS
zh_SG.UTF-8 UTF-8
zh_SG.GBK GBK
zh_SG GB2312
zh_TW.UTF-8 UTF-8
zh_TW.EUC-TW EUC-TW
zh_TW BIG5
zu_ZA.UTF-8 UTF-8
zu_ZA ISO-8859-1

View File

@ -195,6 +195,7 @@ RUN apt-get update && \
git \ git \
git-lfs && \ git-lfs && \
git --version && \ git --version && \
git-lfs install --skip-repo && \
git-lfs --version git-lfs --version
################################################################## ##################################################################

View File

@ -195,6 +195,7 @@ RUN apt-get update && \
git \ git \
git-lfs && \ git-lfs && \
git --version && \ git --version && \
git-lfs install --skip-repo && \
git-lfs --version git-lfs --version
################################################################## ##################################################################

View File

@ -195,6 +195,7 @@ RUN apt-get update && \
git \ git \
git-lfs && \ git-lfs && \
git --version && \ git --version && \
git-lfs install --skip-repo && \
git-lfs --version git-lfs --version
################################################################## ##################################################################

View File

@ -195,6 +195,7 @@ RUN apt-get update && \
git \ git \
git-lfs && \ git-lfs && \
git --version && \ git --version && \
git-lfs install --skip-repo && \
git-lfs --version git-lfs --version
################################################################## ##################################################################

View File

View File

@ -0,0 +1,40 @@
FROM epicmorg/gitlab-runner:latest
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# teamcity AMXXModX setup
##################################################################
#
# Reserved for future
# export AMXX_CSTRIKE_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.9/amxmodx-latest-cstrike-linux` && \
# export AMXX_DOD_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.9/amxmodx-latest-dod-linux` && \
# export AMXX_ESF_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.9/amxmodx-latest-esf-linux` && \
# export AMXX_NS_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.9/amxmodx-latest-ns-linux` && \
# export AMXX_TFC_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.9/amxmodx-latest-tfc-linux` && \
# export AMXX_TS_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.9/amxmodx-latest-base-linux` && \
# Install packages
ENV AMXX_VERSION=1.9
ENV AMXX_INSTALL_PATH=/opt/amxmodx/$AMXX_VERSION
ENV AMXX_BIN_PATH=$AMXX_INSTALL_PATH/scripting
ENV PATH=$PATH:$AMXX_BIN_PATH
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$AMXX_BIN_PATH
RUN export AMXX_BASE_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.9/amxmodx-latest-base-linux` && \
mkdir -p $AMXX_INSTALL_PATH && \
curl -SL https://www.amxmodx.org/amxxdrop/{$AMXX_VERSION}/{$AMXX_BASE_LATEST_VERSION} -o /tmp/amxx_base_latest.tar.gz && \
cd /tmp && tar -zxf /tmp/amxx_base_latest.tar.gz && cd / && \
mv -f /tmp/addons/amxmodx/* $AMXX_INSTALL_PATH && \
chmod +x $AMXX_BIN_PATH/amxxpc && \
chmod +x $AMXX_BIN_PATH/compile.sh
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt-get clean all && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /tmp/*

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/gitlab-runner:amxx-sdk"
build:
context: .

View File

@ -0,0 +1,64 @@
FROM epicmorg/gitlab-runner:latest
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
ENV ANDROID_HOME=/usr/lib/android-sdk
ENV ANDROID_SDK_ROOT=/usr/lib/android-sdk
ENV GRADLE_VERSION=7.4.2
ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip
ENV GRADLE_ROOT=/opt/gradle
ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION}
ENV GRADLE_BIN=$GRADLE_PATH/bin
ARG GRADLE_TEMP=/tmp/gradle.zip
ENV KTC_VERSION=1.6.21
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
ARG KTC_TEMP=/tmp/kotlinc.tgz
ENV KTC_ROOT=/opt/kotlin
ENV KTC_PATH=${KTC_ROOT}/kotlinc
ENV KTC_BIN=$KTC_PATH/bin
ENV PATH=PATH=$PATH:$GRADLE_BIN:${KTC_BIN}
##################################################################
# Android SDK
##################################################################
RUN apt update && \
apt install -y --allow-unauthenticated \
android-sdk \
android-sdk-build-tools \
android-sdk-platform-tools-common \
android-sdk-platform-tools \
adb fastboot f2fs-tools e2fsprogs libsqlite3-0 sqlite3
# Activate android sdk
RUN echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" > /usr/lib/android-sdk/licenses/android-sdk-license
##################################################################
# GRADLE
##################################################################
RUN mkdir -p $GRADLE_PATH
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue $GRADLE_LINK -O $GRADLE_TEMP
RUN 7zz x $GRADLE_TEMP -o$GRADLE_ROOT
RUN chmod +x -R $GRADLE_BIN
RUN gradle -v
##################################################################
# KOTLIN
##################################################################
RUN mkdir -p ${KTC_PATH}
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${KTC_LINK} -O ${KTC_TEMP}
RUN 7zz x $KTC_TEMP -o$KTC_ROOT
RUN chmod +x -R ${KTC_BIN}
RUN kotlinc -version
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt-get clean all && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /tmp/*

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/gitlab-runner:android-sdk"
build:
context: .

View File

@ -0,0 +1,312 @@
#!/bin/bash
#
# Copyright 2017 Marco Vermeulen
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# install:- channel: stable; cliVersion: 5.15.0; cliNativeVersion: NA; api: https://api.sdkman.io/2
# Global variables
SDKMAN_SERVICE="https://api.sdkman.io/2"
SDKMAN_VERSION="5.15.0"
SDKMAN_PLATFORM=$(uname)
if [ -z "$SDKMAN_DIR" ]; then
SDKMAN_DIR="$HOME/.sdkman"
SDKMAN_DIR_RAW='$HOME/.sdkman'
else
SDKMAN_DIR_RAW="$SDKMAN_DIR"
fi
# Local variables
sdkman_tmp_folder="${SDKMAN_DIR}/tmp"
sdkman_zip_file="${sdkman_tmp_folder}/sdkman-${SDKMAN_VERSION}.zip"
sdkman_zip_base_folder="${sdkman_tmp_folder}/sdkman-${SDKMAN_VERSION}"
sdkman_ext_folder="${SDKMAN_DIR}/ext"
sdkman_etc_folder="${SDKMAN_DIR}/etc"
sdkman_var_folder="${SDKMAN_DIR}/var"
sdkman_archives_folder="${SDKMAN_DIR}/archives"
sdkman_candidates_folder="${SDKMAN_DIR}/candidates"
sdkman_config_file="${sdkman_etc_folder}/config"
sdkman_bash_profile="${HOME}/.bash_profile"
sdkman_profile="${HOME}/.profile"
sdkman_bashrc="${HOME}/.bashrc"
sdkman_zshrc="${ZDOTDIR:-${HOME}}/.zshrc"
sdkman_init_snippet=$( cat << EOF
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$SDKMAN_DIR_RAW"
[[ -s "${SDKMAN_DIR_RAW}/bin/sdkman-init.sh" ]] && source "${SDKMAN_DIR_RAW}/bin/sdkman-init.sh"
EOF
)
# OS specific support (must be 'true' or 'false').
cygwin=false;
darwin=false;
solaris=false;
freebsd=false;
case "$(uname)" in
CYGWIN*)
cygwin=true
;;
Darwin*)
darwin=true
;;
SunOS*)
solaris=true
;;
FreeBSD*)
freebsd=true
esac
echo ''
echo ' -+syyyyyyys:'
echo ' `/yho:` -yd.'
echo ' `/yh/` +m.'
echo ' .oho. hy .`'
echo ' .sh/` :N` `-/o` `+dyyo:.'
echo ' .yh:` `M- `-/osysoym :hs` `-+sys: hhyssssssssy+'
echo ' .sh:` `N: ms/-`` yy.yh- -hy. `.N-````````+N.'
echo ' `od/` `N- -/oM- ddd+` `sd: hNNm -N:'
echo ' :do` .M. dMMM- `ms. /d+` `NMMs `do'
echo ' .yy- :N` ```mMMM. - -hy. /MMM: yh'
echo ' `+d+` `:/oo/` `-/osyh/ossssssdNMM` .sh: yMMN` /m.'
echo ' -dh- :ymNMMMMy `-/shmNm-`:N/-.`` `.sN /N- `NMMy .m/'
echo ' `oNs` -hysosmMMMMydmNmds+-.:ohm : sd` :MMM/ yy'
echo ' .hN+ /d: -MMMmhs/-.` .MMMh .ss+- `yy` sMMN` :N.'
echo ' :mN/ `N/ `o/-` :MMMo +MMMN- .` `ds mMMh do'
echo ' /NN/ `N+....--:/+oooosooo+:sMMM: hMMMM: `my .m+ -MMM+ :N.'
echo ' /NMo -+ooooo+/:-....`...:+hNMN. `NMMMd` .MM/ -m: oMMN. hs'
echo ' -NMd` :mm -MMMm- .s/ -MMm. /m- mMMd -N.'
echo ' `mMM/ .- /MMh. -dMo -MMMy od. .MMMs..---yh'
echo ' +MMM. sNo`.sNMM+ :MMMM/ sh`+MMMNmNm+++-'
echo ' mMMM- /--ohmMMM+ :MMMMm. `hyymmmdddo'
echo ' MMMMh. ```` `-+yy/`yMMM/ :MMMMMy -sm:.``..-:-.`'
echo ' dMMMMmo-.``````..-:/osyhddddho. `+shdh+. hMMM: :MmMMMM/ ./yy/` `:sys+/+sh/'
echo ' .dMMMMMMmdddddmmNMMMNNNNNMMMMMs sNdo- dMMM- `-/yd/MMMMm-:sy+. :hs- /N`'
echo ' `/ymNNNNNNNmmdys+/::----/dMMm: +m- mMMM+ohmo/.` sMMMMdo- .om: `sh'
echo ' `.-----+/.` `.-+hh/` `od. NMMNmds/ `mmy:` +mMy `:yy.'
echo ' /moyso+//+ossso:. .yy` `dy+:` .. :MMMN+---/oys:'
echo ' /+m: `.-:::-` /d+ +MMMMMMMNh:`'
echo ' +MN/ -yh. `+hddhy+.'
echo ' /MM+ .sh:'
echo ' :NMo -sh/'
echo ' -NMs `/yy:'
echo ' .NMy `:sh+.'
echo ' `mMm` ./yds-'
echo ' `dMMMmyo:-.````.-:oymNy:`'
echo ' +NMMMMMMMMMMMMMMMMms:`'
echo ' -+shmNMMMNmdy+:`'
echo ''
echo ''
echo ' Now attempting installation...'
echo ''
echo ''
# Sanity checks
echo "Looking for a previous installation of SDKMAN..."
if [ -d "$SDKMAN_DIR" ]; then
echo "SDKMAN found."
echo ""
echo "======================================================================================================"
echo " You already have SDKMAN installed."
echo " SDKMAN was found at:"
echo ""
echo " ${SDKMAN_DIR}"
echo ""
echo " Please consider running the following if you need to upgrade."
echo ""
echo " $ sdk selfupdate force"
echo ""
echo "======================================================================================================"
echo ""
exit 0
fi
echo "Looking for unzip..."
if ! command -v unzip > /dev/null; then
echo "Not found."
echo "======================================================================================================"
echo " Please install unzip on your system using your favourite package manager."
echo ""
echo " Restart after installing unzip."
echo "======================================================================================================"
echo ""
exit 1
fi
echo "Looking for zip..."
if ! command -v zip > /dev/null; then
echo "Not found."
echo "======================================================================================================"
echo " Please install zip on your system using your favourite package manager."
echo ""
echo " Restart after installing zip."
echo "======================================================================================================"
echo ""
exit 1
fi
echo "Looking for curl..."
if ! command -v curl > /dev/null; then
echo "Not found."
echo ""
echo "======================================================================================================"
echo " Please install curl on your system using your favourite package manager."
echo ""
echo " Restart after installing curl."
echo "======================================================================================================"
echo ""
exit 1
fi
if [[ "$solaris" == true ]]; then
echo "Looking for gsed..."
if [ -z $(which gsed) ]; then
echo "Not found."
echo ""
echo "======================================================================================================"
echo " Please install gsed on your solaris system."
echo ""
echo " SDKMAN uses gsed extensively."
echo ""
echo " Restart after installing gsed."
echo "======================================================================================================"
echo ""
exit 1
fi
else
echo "Looking for sed..."
if [ -z $(command -v sed) ]; then
echo "Not found."
echo ""
echo "======================================================================================================"
echo " Please install sed on your system using your favourite package manager."
echo ""
echo " Restart after installing sed."
echo "======================================================================================================"
echo ""
exit 1
fi
fi
echo "Installing SDKMAN scripts..."
# Create directory structure
echo "Create distribution directories..."
mkdir -p "$sdkman_tmp_folder"
mkdir -p "$sdkman_ext_folder"
mkdir -p "$sdkman_etc_folder"
mkdir -p "$sdkman_var_folder"
mkdir -p "$sdkman_archives_folder"
mkdir -p "$sdkman_candidates_folder"
echo "Getting available candidates..."
SDKMAN_CANDIDATES_CSV=$(curl -s "${SDKMAN_SERVICE}/candidates/all")
echo "$SDKMAN_CANDIDATES_CSV" > "${SDKMAN_DIR}/var/candidates"
echo "Prime the config file..."
touch "$sdkman_config_file"
echo "sdkman_auto_answer=false" >> "$sdkman_config_file"
if [ -z "$ZSH_VERSION" -a -z "$BASH_VERSION" ]; then
echo "sdkman_auto_complete=false" >> "$sdkman_config_file"
else
echo "sdkman_auto_complete=true" >> "$sdkman_config_file"
fi
echo "sdkman_auto_env=false" >> "$sdkman_config_file"
echo "sdkman_auto_update=true" >> "$sdkman_config_file"
echo "sdkman_beta_channel=false" >> "$sdkman_config_file"
echo "sdkman_checksum_enable=true" >> "$sdkman_config_file"
echo "sdkman_colour_enable=true" >> "$sdkman_config_file"
echo "sdkman_curl_connect_timeout=7" >> "$sdkman_config_file"
echo "sdkman_curl_max_time=10" >> "$sdkman_config_file"
echo "sdkman_debug_mode=false" >> "$sdkman_config_file"
echo "sdkman_insecure_ssl=false" >> "$sdkman_config_file"
echo "sdkman_rosetta2_compatible=false" >> "$sdkman_config_file"
echo "sdkman_selfupdate_feature=true" >> "$sdkman_config_file"
echo "Download script archive..."
curl --location --progress-bar "${SDKMAN_SERVICE}/broker/download/sdkman/install/${SDKMAN_VERSION}/${SDKMAN_PLATFORM}" > "$sdkman_zip_file"
ARCHIVE_OK=$(unzip -qt "$sdkman_zip_file" | grep 'No errors detected in compressed data')
if [[ -z "$ARCHIVE_OK" ]]; then
echo "Downloaded zip archive corrupt. Are you connected to the internet?"
echo ""
echo "If problems persist, please ask for help on our Slack:"
echo "* easy sign up: https://slack.sdkman.io/"
echo "* report on channel: https://sdkman.slack.com/app_redirect?channel=user-issues"
rm -rf "$SDKMAN_DIR"
exit 1
fi
echo "Extract script archive..."
if [[ "$cygwin" == 'true' ]]; then
echo "Cygwin detected - normalizing paths for unzip..."
sdkman_tmp_folder=$(cygpath -w "$sdkman_tmp_folder")
sdkman_zip_file=$(cygpath -w "$sdkman_zip_file")
sdkman_zip_base_folder=$(cygpath -w "$sdkman_zip_base_folder")
fi
unzip -qo "$sdkman_zip_file" -d "$sdkman_tmp_folder"
echo "Install scripts..."
mv "${sdkman_zip_base_folder}/"* "$SDKMAN_DIR"
rm -rf "$sdkman_zip_base_folder"
echo "Set version to $SDKMAN_VERSION ..."
echo "$SDKMAN_VERSION" > "${SDKMAN_DIR}/var/version"
if [[ $darwin == true ]]; then
touch "$sdkman_bash_profile"
echo "Attempt update of login bash profile on OSX..."
if [[ -z $(grep 'sdkman-init.sh' "$sdkman_bash_profile") ]]; then
echo -e "\n$sdkman_init_snippet" >> "$sdkman_bash_profile"
echo "Added sdkman init snippet to $sdkman_bash_profile"
fi
else
echo "Attempt update of interactive bash profile on regular UNIX..."
touch "${sdkman_bashrc}"
if [[ -z $(grep 'sdkman-init.sh' "$sdkman_bashrc") ]]; then
echo -e "\n$sdkman_init_snippet" >> "$sdkman_bashrc"
echo "Added sdkman init snippet to $sdkman_bashrc"
fi
fi
echo "Attempt update of zsh profile..."
touch "$sdkman_zshrc"
if [[ -z $(grep 'sdkman-init.sh' "$sdkman_zshrc") ]]; then
echo -e "\n$sdkman_init_snippet" >> "$sdkman_zshrc"
echo "Updated existing ${sdkman_zshrc}"
fi
echo -e "\n\n\nAll done!\n\n"
echo "You are subscribed to the STABLE channel."
echo ""
echo "Please open a new terminal, or run the following in the existing one:"
echo ""
echo " source \"${SDKMAN_DIR}/bin/sdkman-init.sh\""
echo ""
echo "Then issue the following command:"
echo ""
echo " sdk help"
echo ""
echo "Enjoy!!!"

View File

@ -0,0 +1,32 @@
FROM epicmorg/gitlab-runner:latest
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# teamcity atlassian-sdk setup
##################################################################
#Install packages
#RUN curl -SL https://packages.atlassian.com/atlassian-sdk-deb/debian/pool/contrib/a/atlassian-plugin-sdk/atlassian-plugin-sdk_8.0.16_all.deb -o /tmp/atlassian-plugin-sdk.deb && \
# dpkg -i /tmp/atlassian-plugin-sdk.deb
###############################
# https://community.atlassian.com/t5/Continuous-Delivery-questions/The-repository-https-packages-atlassian-com-atlassian-sdk-deb/qaq-p/1334014
#
# https://community.developer.atlassian.com/t/the-repository-https-packages-atlassian-com-atlassian-sdk-deb-stable-release-is-not-signed/36901
###############################
RUN curl -fsSL https://packages.atlassian.com/api/gpg/key/public | apt-key add - && \
echo 'deb [trusted=yes] https://packages.atlassian.com/atlassian-sdk-deb stable contrib' > /etc/apt/sources.list.d/atlassian-sdk.list && \
apt update --allow-insecure-repositories && \
apt install -y --no-install-recommends --allow-unauthenticated \
atlassian-plugin-sdk
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt-get clean all && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /tmp/*

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/gitlab-runner:atlassian-sdk"
build:
context: .

View File

@ -0,0 +1,99 @@
FROM epicmorg/gitlab-runner:latest
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
COPY sources.list.d/sources.11.list /etc/apt/sources.list.d/sources.11.list
##################################################################
# teamcity dotnet+powershell setup
##################################################################
# Opt out of the telemetry feature
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true
# Disable first time experience
ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
# Configure Kestrel web server to bind to port 80 when present
ENV ASPNETCORE_URLS=\
# Enable detection of running in a container
ENV DOTNET_RUNNING_IN_CONTAINER=true
# Enable correct mode for dotnet watch (only mode supported in a container)
ENV DOTNET_USE_POLLING_FILE_WATCHER=true
# Skip extraction of XML docs - generally not useful within an image/container - helps perfomance
ENV NUGET_XMLDOC_MODE=skip
#unofficial support of openssl1.1 instead of 1.0 [https://stackoverflow.com/questions/51901359]
ENV CLR_OPENSSL_VERSION_OVERRIDE=45
# PowerShell telemetry for docker image usage
ENV POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetSDK-Debian-10
#Install packages
RUN curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - && \
echo 'deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/debian/11/prod bullseye main' > /etc/apt/sources.list.d/microsoft.dotnet.list && \
apt-get update && \
apt-get install -y --no-install-recommends --allow-unauthenticated \
libc6 \
libgcc1 \
libgssapi-krb5-2 \
# libicu63 \
liblttng-ust0 \
libssl1.1 \
libstdc++6 \
zlib1g \
dotnet-sdk-2.1 \
dotnet-runtime-deps-2.1 \
dotnet-runtime-2.1 \
dotnet-hostfxr-2.1 \
dotnet-sdk-3.1 \
dotnet-targeting-pack-3.1 \
dotnet-runtime-deps-3.1 \
dotnet-runtime-3.1 \
dotnet-hostfxr-3.1 \
dotnet-apphost-pack-3.1 \
dotnet-sdk-5.0 \
dotnet-targeting-pack-5.0 \
dotnet-runtime-deps-5.0 \
dotnet-runtime-5.0 \
dotnet-hostfxr-5.0 \
dotnet-apphost-pack-5.0 \
dotnet-sdk-6.0 \
dotnet-targeting-pack-6.0 \
dotnet-runtime-deps-6.0 \
dotnet-runtime-6.0 \
dotnet-hostfxr-6.0 \
dotnet-apphost-pack-6.0 \
dotnet-host \
procdump \
# procmon \
powershell-preview \
powershell
# Trigger .NET CLI first run experience by running arbitrary cmd to populate local package cache
RUN dotnet help && \
pwsh-preview -v && \
pwsh -v
##################################################################
# Mono
##################################################################
#RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && \
# echo "deb https://download.mono-project.com/repo/debian stable-buster main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list && \
# echo "deb https://download.mono-project.com/repo/debian nightly-buster main" | sudo tee /etc/apt/sources.list.d/mono-official-nightly.list && \
# echo "deb https://download.mono-project.com/repo/debian preview-buster main" | sudo tee /etc/apt/sources.list.d/mono-official-preview.list && \
# apt-get update && \
# apt-get install -y --allow-unauthenticated \
# mono-complete \
# mono-llvm-support \
# mono-devel \
# mono-dbg \
# referenceassemblies-pcl \
# ca-certificates-mono
# mono-xsp4
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt-get clean all && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /tmp/*

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/teamcity-agent:dotnet-sdk"
build:
context: .

View File

@ -0,0 +1,21 @@
#main
deb http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-updates main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-backports main contrib non-free
deb http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ bullseye-proposed-updates main contrib non-free
#security
deb http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ bullseye-security/updates main contrib non-free
##multimedia
# deb http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
# deb-src http://httpredir.debian.org/debian-multimedia/ bullseye main non-free
# deb http://httpredir.debian.org/debian-multimedia/ bullseye-backports main
# deb-src http://httpredir.debian.org/debian-multimedia/ bullseye-backports main

View File

@ -0,0 +1,75 @@
FROM epicmorg/debian:bullseye-develop
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
ENV GITLAB_RUNNER_HOME=/opt/gitlab-runner
ENV GITLAB_RUNNER_CONF=/etc/gitlab-runner
ENV GIT_SSH_VARIANT=ssh
RUN mkdir -p ${GITLAB_RUNNER_HOME} ${GITLAB_RUNNER_CONF} ${GITLAB_RUNNER_CONF}/certs && \
chmod -R 700 /etc/gitlab-runner
##################################################################
# docker setup
##################################################################
#Install packages
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \
echo 'deb https://download.docker.com/linux/debian bullseye test' > /etc/apt/sources.list.d/docker.list && \
echo 'deb https://download.docker.com/linux/debian bullseye nightly' >> /etc/apt/sources.list.d/docker.list && \
apt-cache policy docker-ce && \
apt-get update && \
apt-get install -y --no-install-recommends --allow-unauthenticated \
docker-ce \
docker-ce-cli \
containerd.io systemd && \
systemctl disable docker && \
docker --version
COPY run-docker.sh /services/run-docker.sh
RUN chmod +x /services/run-docker.sh && \
sync
##################################################################
# docker compose setup
##################################################################
#Install packages
RUN export DOCKER_COMPOSE_VERSION=`curl --silent https://api.github.com/repos/docker/compose/releases/latest | jq .name -r` && \
echo "Latest compose is: ${DOCKER_COMPOSE_VERSION}" && \
curl -SL https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose && \
chmod +x /usr/local/bin/docker-compose && \
docker-compose --version
##################################################################
# gitlab runner setup
##################################################################
COPY install-gitlab-runner.sh /tmp/install-gitlab-runner.sh
RUN cd /tmp && \
chmod +x /tmp/install-gitlab-runner.sh && \
bash /tmp/install-gitlab-runner.sh && \
# useradd --comment 'GitLab Runner' --create-home gitlab-runner --shell /bin/bash && \
usermod -aG docker gitlab-runner && \
cat /etc/passwd && \
gitlab-runner --version
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt-get clean all && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /tmp/*
#Final config
STOPSIGNAL SIGQUIT
VOLUME ["${GITLAB_RUNNER_CONF}", "${GITLAB_RUNNER_HOME}", "/var/lib/docker"]
WORKDIR ${GITLAB_RUNNER_HOME}
# Add image configuration and scripts
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
RUN chmod 755 /usr/bin/docker-entrypoint.sh
ENTRYPOINT ["/usr/bin/dumb-init", "docker-entrypoint.sh"]
CMD ["run", "--user=gitlab-runner", "--working-directory=${GITLAB_RUNNER_HOME}"]

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
# make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
#clean:
# docker container prune -f
# docker image prune -f
# docker network prune -f
# docker volume prune -f
# docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/gitlab-runner:latest"
build:
context: .

View File

@ -0,0 +1,22 @@
#!/bin/bash
# gitlab-runner data directory
DATA_DIR="/etc/gitlab-runner"
CONFIG_FILE=${CONFIG_FILE:-$DATA_DIR/config.toml}
# custom certificate authority path
CA_CERTIFICATES_PATH=${CA_CERTIFICATES_PATH:-$DATA_DIR/certs/ca.crt}
LOCAL_CA_PATH="/usr/local/share/ca-certificates/ca.crt"
update_ca() {
echo "Updating CA certificates..."
cp "${CA_CERTIFICATES_PATH}" "${LOCAL_CA_PATH}"
update-ca-certificates --fresh >/dev/null
}
if [ -f "${CA_CERTIFICATES_PATH}" ]; then
# update the ca if the custom ca is different than the current
cmp --silent "${CA_CERTIFICATES_PATH}" "${LOCAL_CA_PATH}" || update_ca
fi
# launch gitlab-runner passing all arguments
exec gitlab-runner "$@"

View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -eEo pipefail
wget --no-check-certificate -c https://gitlab-runner-downloads.s3.amazonaws.com/latest/deb/gitlab-runner_amd64.deb --random-wait -O /tmp/gitlab-runner.deb
dpkg -i "/tmp/gitlab-runner.deb"
apt-get update
apt-get -f install -y
rm -rfv /var/lib/apt/lists/*
rm -rfv "/tmp/gitlab-runner.deb"

View File

@ -0,0 +1,7 @@
#!/bin/bash
if [ "$DOCKER_IN_DOCKER" = "start" ] ; then
rm /var/run/docker.pid 2>/dev/null
service docker start
echo "Docker daemon started"
fi

View File

@ -0,0 +1,34 @@
FROM epicmorg/gitlab-runner:latest
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# Node.js 12.x
##################################################################
RUN groupadd node && \
useradd --gid node --shell /bin/bash --create-home node
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - && \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
apt-get update && \
apt-get install -y nodejs yarn
# curl -L https://www.npmjs.com/install.sh | sh
# npm install -g npm
RUN echo "=============================================" && \
echo node $(node --version) && \
echo npm $(npm --version) && \
echo yarn $(yarn --version) && \
echo "============================================="
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt-get clean all && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /tmp/*

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/gitlab-runner:node12"
build:
context: .

View File

@ -0,0 +1,34 @@
FROM epicmorg/gitlab-runner:latest
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# Node.js 14.x
##################################################################
RUN groupadd node && \
useradd --gid node --shell /bin/bash --create-home node
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
apt-get update && \
apt-get install -y nodejs yarn
# curl -L https://www.npmjs.com/install.sh | sh
# npm install -g npm
RUN echo "=============================================" && \
echo node $(node --version) && \
echo npm $(npm --version) && \
echo yarn $(yarn --version) && \
echo "============================================="
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt-get clean all && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /tmp/*

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/gitlab-runner:node14"
build:
context: .

View File

@ -0,0 +1,34 @@
FROM epicmorg/gitlab-runner:latest
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# Node.js 15.x
##################################################################
RUN groupadd node && \
useradd --gid node --shell /bin/bash --create-home node
RUN curl -sL https://deb.nodesource.com/setup_15.x | bash - && \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
apt-get update && \
apt-get install -y nodejs yarn
# curl -L https://www.npmjs.com/install.sh | sh
# npm install -g npm
RUN echo "=============================================" && \
echo node $(node --version) && \
echo npm $(npm --version) && \
echo yarn $(yarn --version) && \
echo "============================================="
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt-get clean all && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /tmp/*

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/gitlab-runner:node15"
build:
context: .

View File

@ -0,0 +1,34 @@
FROM epicmorg/gitlab-runner:latest
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# Node.js 16.x
##################################################################
RUN groupadd node && \
useradd --gid node --shell /bin/bash --create-home node
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
apt-get update && \
apt-get install -y nodejs yarn
# curl -L https://www.npmjs.com/install.sh | sh
# npm install -g npm
RUN echo "=============================================" && \
echo node $(node --version) && \
echo npm $(npm --version) && \
echo yarn $(yarn --version) && \
echo "============================================="
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt-get clean all && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /tmp/*

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/gitlab-runner:node16"
build:
context: .

View File

@ -0,0 +1,34 @@
FROM epicmorg/gitlab-runner:latest
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# Node.js 17.x
##################################################################
RUN groupadd node && \
useradd --gid node --shell /bin/bash --create-home node
RUN curl -sL https://deb.nodesource.com/setup_17.x | bash - && \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
apt-get update && \
apt-get install -y nodejs yarn
# curl -L https://www.npmjs.com/install.sh | sh
# npm install -g npm
RUN echo "=============================================" && \
echo node $(node --version) && \
echo npm $(npm --version) && \
echo yarn $(yarn --version) && \
echo "============================================="
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt-get clean all && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /tmp/*

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/gitlab-runner:node17"
build:
context: .

View File

@ -0,0 +1,34 @@
FROM epicmorg/gitlab-runner:latest
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# Node.js 18.x
##################################################################
RUN groupadd node && \
useradd --gid node --shell /bin/bash --create-home node
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
apt-get update && \
apt-get install -y nodejs yarn
# curl -L https://www.npmjs.com/install.sh | sh
# npm install -g npm
RUN echo "=============================================" && \
echo node $(node --version) && \
echo npm $(npm --version) && \
echo yarn $(yarn --version) && \
echo "============================================="
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt-get clean all && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /tmp/*

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/gitlab-runner:node18"
build:
context: .

View File

@ -0,0 +1,82 @@
FROM epicmorg/php:php7.2
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# php
##################################################################
RUN php -m && \
php -v
ENV GITLAB_RUNNER_HOME=/opt/gitlab-runner
ENV GITLAB_RUNNER_CONF=/etc/gitlab-runner
ENV GIT_SSH_VARIANT=ssh
RUN mkdir -p ${GITLAB_RUNNER_HOME} ${GITLAB_RUNNER_CONF} ${GITLAB_RUNNER_CONF}/certs && \
chmod -R 700 /etc/gitlab-runner
##################################################################
# docker setup
##################################################################
#Install packages
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \
echo 'deb https://download.docker.com/linux/debian bullseye test' > /etc/apt/sources.list.d/docker.list && \
echo 'deb https://download.docker.com/linux/debian bullseye nightly' >> /etc/apt/sources.list.d/docker.list && \
apt-cache policy docker-ce && \
apt-get update && \
apt-get install -y --no-install-recommends --allow-unauthenticated \
docker-ce \
docker-ce-cli \
containerd.io systemd && \
systemctl disable docker && \
docker --version
COPY run-docker.sh /services/run-docker.sh
RUN chmod +x /services/run-docker.sh && \
sync
##################################################################
# docker compose setup
##################################################################
#Install packages
RUN export DOCKER_COMPOSE_VERSION=`curl --silent https://api.github.com/repos/docker/compose/releases/latest | jq .name -r` && \
echo "Latest compose is: ${DOCKER_COMPOSE_VERSION}" && \
curl -SL https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose && \
chmod +x /usr/local/bin/docker-compose && \
docker-compose --version
##################################################################
# gitlab runner setup
##################################################################
COPY install-gitlab-runner.sh /tmp/install-gitlab-runner.sh
RUN cd /tmp && \
chmod +x /tmp/install-gitlab-runner.sh && \
bash /tmp/install-gitlab-runner.sh && \
# useradd --comment 'GitLab Runner' --create-home gitlab-runner --shell /bin/bash && \
usermod -aG docker gitlab-runner && \
cat /etc/passwd && \
gitlab-runner --version
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt-get clean all && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /tmp/*
#Final config
STOPSIGNAL SIGQUIT
VOLUME ["${GITLAB_RUNNER_CONF}", "${GITLAB_RUNNER_HOME}", "/var/lib/docker"]
WORKDIR ${GITLAB_RUNNER_HOME}
# Add image configuration and scripts
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
RUN chmod 755 /usr/bin/docker-entrypoint.sh
ENTRYPOINT ["/usr/bin/dumb-init", "docker-entrypoint.sh"]
CMD ["run", "--user=gitlab-runner", "--working-directory=${GITLAB_RUNNER_HOME}"]

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/gitlab-runner:php7.2"
build:
context: .

View File

@ -0,0 +1,22 @@
#!/bin/bash
# gitlab-runner data directory
DATA_DIR="/etc/gitlab-runner"
CONFIG_FILE=${CONFIG_FILE:-$DATA_DIR/config.toml}
# custom certificate authority path
CA_CERTIFICATES_PATH=${CA_CERTIFICATES_PATH:-$DATA_DIR/certs/ca.crt}
LOCAL_CA_PATH="/usr/local/share/ca-certificates/ca.crt"
update_ca() {
echo "Updating CA certificates..."
cp "${CA_CERTIFICATES_PATH}" "${LOCAL_CA_PATH}"
update-ca-certificates --fresh >/dev/null
}
if [ -f "${CA_CERTIFICATES_PATH}" ]; then
# update the ca if the custom ca is different than the current
cmp --silent "${CA_CERTIFICATES_PATH}" "${LOCAL_CA_PATH}" || update_ca
fi
# launch gitlab-runner passing all arguments
exec gitlab-runner "$@"

View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -eEo pipefail
wget --no-check-certificate -c https://gitlab-runner-downloads.s3.amazonaws.com/latest/deb/gitlab-runner_amd64.deb --random-wait -O /tmp/gitlab-runner.deb
dpkg -i "/tmp/gitlab-runner.deb"
apt-get update
apt-get -f install -y
rm -rfv /var/lib/apt/lists/*
rm -rfv "/tmp/gitlab-runner.deb"

View File

@ -0,0 +1,7 @@
#!/bin/bash
if [ "$DOCKER_IN_DOCKER" = "start" ] ; then
rm /var/run/docker.pid 2>/dev/null
service docker start
echo "Docker daemon started"
fi

View File

@ -0,0 +1,82 @@
FROM epicmorg/php:php7.3
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# php
##################################################################
RUN php -m && \
php -v
ENV GITLAB_RUNNER_HOME=/opt/gitlab-runner
ENV GITLAB_RUNNER_CONF=/etc/gitlab-runner
ENV GIT_SSH_VARIANT=ssh
RUN mkdir -p ${GITLAB_RUNNER_HOME} ${GITLAB_RUNNER_CONF} ${GITLAB_RUNNER_CONF}/certs && \
chmod -R 700 /etc/gitlab-runner
##################################################################
# docker setup
##################################################################
#Install packages
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \
echo 'deb https://download.docker.com/linux/debian bullseye test' > /etc/apt/sources.list.d/docker.list && \
echo 'deb https://download.docker.com/linux/debian bullseye nightly' >> /etc/apt/sources.list.d/docker.list && \
apt-cache policy docker-ce && \
apt-get update && \
apt-get install -y --no-install-recommends --allow-unauthenticated \
docker-ce \
docker-ce-cli \
containerd.io systemd && \
systemctl disable docker && \
docker --version
COPY run-docker.sh /services/run-docker.sh
RUN chmod +x /services/run-docker.sh && \
sync
##################################################################
# docker compose setup
##################################################################
#Install packages
RUN export DOCKER_COMPOSE_VERSION=`curl --silent https://api.github.com/repos/docker/compose/releases/latest | jq .name -r` && \
echo "Latest compose is: ${DOCKER_COMPOSE_VERSION}" && \
curl -SL https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose && \
chmod +x /usr/local/bin/docker-compose && \
docker-compose --version
##################################################################
# gitlab runner setup
##################################################################
COPY install-gitlab-runner.sh /tmp/install-gitlab-runner.sh
RUN cd /tmp && \
chmod +x /tmp/install-gitlab-runner.sh && \
bash /tmp/install-gitlab-runner.sh && \
# useradd --comment 'GitLab Runner' --create-home gitlab-runner --shell /bin/bash && \
usermod -aG docker gitlab-runner && \
cat /etc/passwd && \
gitlab-runner --version
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt-get clean all && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /tmp/*
#Final config
STOPSIGNAL SIGQUIT
VOLUME ["${GITLAB_RUNNER_CONF}", "${GITLAB_RUNNER_HOME}", "/var/lib/docker"]
WORKDIR ${GITLAB_RUNNER_HOME}
# Add image configuration and scripts
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
RUN chmod 755 /usr/bin/docker-entrypoint.sh
ENTRYPOINT ["/usr/bin/dumb-init", "docker-entrypoint.sh"]
CMD ["run", "--user=gitlab-runner", "--working-directory=${GITLAB_RUNNER_HOME}"]

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/gitlab-runner:php7.3"
build:
context: .

View File

@ -0,0 +1,22 @@
#!/bin/bash
# gitlab-runner data directory
DATA_DIR="/etc/gitlab-runner"
CONFIG_FILE=${CONFIG_FILE:-$DATA_DIR/config.toml}
# custom certificate authority path
CA_CERTIFICATES_PATH=${CA_CERTIFICATES_PATH:-$DATA_DIR/certs/ca.crt}
LOCAL_CA_PATH="/usr/local/share/ca-certificates/ca.crt"
update_ca() {
echo "Updating CA certificates..."
cp "${CA_CERTIFICATES_PATH}" "${LOCAL_CA_PATH}"
update-ca-certificates --fresh >/dev/null
}
if [ -f "${CA_CERTIFICATES_PATH}" ]; then
# update the ca if the custom ca is different than the current
cmp --silent "${CA_CERTIFICATES_PATH}" "${LOCAL_CA_PATH}" || update_ca
fi
# launch gitlab-runner passing all arguments
exec gitlab-runner "$@"

View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -eEo pipefail
wget --no-check-certificate -c https://gitlab-runner-downloads.s3.amazonaws.com/latest/deb/gitlab-runner_amd64.deb --random-wait -O /tmp/gitlab-runner.deb
dpkg -i "/tmp/gitlab-runner.deb"
apt-get update
apt-get -f install -y
rm -rfv /var/lib/apt/lists/*
rm -rfv "/tmp/gitlab-runner.deb"

View File

@ -0,0 +1,7 @@
#!/bin/bash
if [ "$DOCKER_IN_DOCKER" = "start" ] ; then
rm /var/run/docker.pid 2>/dev/null
service docker start
echo "Docker daemon started"
fi

View File

@ -0,0 +1,82 @@
FROM epicmorg/php:php7.4
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# php
##################################################################
RUN php -m && \
php -v
ENV GITLAB_RUNNER_HOME=/opt/gitlab-runner
ENV GITLAB_RUNNER_CONF=/etc/gitlab-runner
ENV GIT_SSH_VARIANT=ssh
RUN mkdir -p ${GITLAB_RUNNER_HOME} ${GITLAB_RUNNER_CONF} ${GITLAB_RUNNER_CONF}/certs && \
chmod -R 700 /etc/gitlab-runner
##################################################################
# docker setup
##################################################################
#Install packages
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \
echo 'deb https://download.docker.com/linux/debian bullseye test' > /etc/apt/sources.list.d/docker.list && \
echo 'deb https://download.docker.com/linux/debian bullseye nightly' >> /etc/apt/sources.list.d/docker.list && \
apt-cache policy docker-ce && \
apt-get update && \
apt-get install -y --no-install-recommends --allow-unauthenticated \
docker-ce \
docker-ce-cli \
containerd.io systemd && \
systemctl disable docker && \
docker --version
COPY run-docker.sh /services/run-docker.sh
RUN chmod +x /services/run-docker.sh && \
sync
##################################################################
# docker compose setup
##################################################################
#Install packages
RUN export DOCKER_COMPOSE_VERSION=`curl --silent https://api.github.com/repos/docker/compose/releases/latest | jq .name -r` && \
echo "Latest compose is: ${DOCKER_COMPOSE_VERSION}" && \
curl -SL https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose && \
chmod +x /usr/local/bin/docker-compose && \
docker-compose --version
##################################################################
# gitlab runner setup
##################################################################
COPY install-gitlab-runner.sh /tmp/install-gitlab-runner.sh
RUN cd /tmp && \
chmod +x /tmp/install-gitlab-runner.sh && \
bash /tmp/install-gitlab-runner.sh && \
# useradd --comment 'GitLab Runner' --create-home gitlab-runner --shell /bin/bash && \
usermod -aG docker gitlab-runner && \
cat /etc/passwd && \
gitlab-runner --version
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt-get clean all && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb && \
rm -rfv /tmp/*
#Final config
STOPSIGNAL SIGQUIT
VOLUME ["${GITLAB_RUNNER_CONF}", "${GITLAB_RUNNER_HOME}", "/var/lib/docker"]
WORKDIR ${GITLAB_RUNNER_HOME}
# Add image configuration and scripts
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
RUN chmod 755 /usr/bin/docker-entrypoint.sh
ENTRYPOINT ["/usr/bin/dumb-init", "docker-entrypoint.sh"]
CMD ["run", "--user=gitlab-runner", "--working-directory=${GITLAB_RUNNER_HOME}"]

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel --progress plain
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

Some files were not shown because too many files have changed in this diff Show More