v20240210

base images rework
workflow rework
This commit is contained in:
STAM 2024-02-10 00:33:42 +03:00
commit b5d88b8754
No known key found for this signature in database
GPG Key ID: 711526C6938897F1
317 changed files with 4654 additions and 650 deletions

View File

@ -32,6 +32,9 @@ jobs:
- name: Build and Deploy freegpt-webui 1.2 - name: Build and Deploy freegpt-webui 1.2
run: cd linux/ecosystem/freegpt-webui/1.2 && make build && make deploy run: cd linux/ecosystem/freegpt-webui/1.2 && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: Build and Deploy freegpt-webui 1.3 - name: Build and Deploy freegpt-webui 1.3
run: cd linux/ecosystem/freegpt-webui/1.3 && make build && make deploy run: cd linux/ecosystem/freegpt-webui/1.3 && make build && make deploy
@ -41,6 +44,9 @@ jobs:
- name: Build and Deploy freegpt-webui 1.3.2 - name: Build and Deploy freegpt-webui 1.3.2
run: cd linux/ecosystem/freegpt-webui/1.3.2 && make build && make deploy run: cd linux/ecosystem/freegpt-webui/1.3.2 && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: Build and Deploy freegpt-webui 1.4 - name: Build and Deploy freegpt-webui 1.4
run: cd linux/ecosystem/freegpt-webui/1.4 && make build && make deploy run: cd linux/ecosystem/freegpt-webui/1.4 && make build && make deploy

View File

@ -36,6 +36,9 @@ jobs:
- name: "Build and Deploy Advanced Nextcloud 18 Stock Images:" - name: "Build and Deploy Advanced Nextcloud 18 Stock Images:"
run: cd linux/advanced/nextcloud/pure/18 && pwd && make build && make deploy run: cd linux/advanced/nextcloud/pure/18 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Advanced Nextcloud 19 Stock Images:" - name: "Build and Deploy Advanced Nextcloud 19 Stock Images:"
run: cd linux/advanced/nextcloud/pure/19 && pwd && make build && make deploy run: cd linux/advanced/nextcloud/pure/19 && pwd && make build && make deploy
@ -48,6 +51,9 @@ jobs:
- name: "Build and Deploy Advanced Nextcloud 22 Stock Images:" - name: "Build and Deploy Advanced Nextcloud 22 Stock Images:"
run: cd linux/advanced/nextcloud/pure/22 && pwd && make build && make deploy run: cd linux/advanced/nextcloud/pure/22 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Advanced Nextcloud 23 Stock Images:" - name: "Build and Deploy Advanced Nextcloud 23 Stock Images:"
run: cd linux/advanced/nextcloud/pure/23 && pwd && make build && make deploy run: cd linux/advanced/nextcloud/pure/23 && pwd && make build && make deploy
@ -69,6 +75,9 @@ jobs:
- name: "Build and Deploy Advanced Nextcloud Latest Stock Images:" - name: "Build and Deploy Advanced Nextcloud Latest Stock Images:"
run: cd linux/advanced/nextcloud/pure/latest && pwd && make build && make deploy run: cd linux/advanced/nextcloud/pure/latest && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
################################################################################## ##################################################################################
build-patched-images: build-patched-images:
@ -101,6 +110,9 @@ jobs:
- name: "Build and Deploy Advanced Nextcloud 19 Patched Images:" - name: "Build and Deploy Advanced Nextcloud 19 Patched Images:"
run: cd linux/advanced/nextcloud/patched/19 && pwd && make build && make deploy run: cd linux/advanced/nextcloud/patched/19 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Advanced Nextcloud 20 Patched Images:" - name: "Build and Deploy Advanced Nextcloud 20 Patched Images:"
run: cd linux/advanced/nextcloud/patched/20 && pwd && make build && make deploy run: cd linux/advanced/nextcloud/patched/20 && pwd && make build && make deploy
@ -116,6 +128,9 @@ jobs:
- name: "Build and Deploy Advanced Nextcloud 24 Patched Images:" - name: "Build and Deploy Advanced Nextcloud 24 Patched Images:"
run: cd linux/advanced/nextcloud/patched/24 && pwd && make build && make deploy run: cd linux/advanced/nextcloud/patched/24 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Advanced Nextcloud 25 Patched Images:" - name: "Build and Deploy Advanced Nextcloud 25 Patched Images:"
run: cd linux/advanced/nextcloud/patched/25 && pwd && make build && make deploy run: cd linux/advanced/nextcloud/patched/25 && pwd && make build && make deploy

View File

@ -27,18 +27,27 @@ jobs:
- name: "Build and Deploy Python 3.6 Main Image:" - name: "Build and Deploy Python 3.6 Main Image:"
run: cd linux/advanced/python/main/3.6 && pwd && make build && make deploy run: cd linux/advanced/python/main/3.6 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Python 3.7 Main Image:" - name: "Build and Deploy Python 3.7 Main Image:"
run: cd linux/advanced/python/main/3.7 && pwd && make build && make deploy run: cd linux/advanced/python/main/3.7 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.8 Main Image:" - name: "Build and Deploy Python 3.8 Main Image:"
run: cd linux/advanced/python/main/3.8 && pwd && make build && make deploy run: cd linux/advanced/python/main/3.8 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Python 3.9 Main Image:" - name: "Build and Deploy Python 3.9 Main Image:"
run: cd linux/advanced/python/main/3.9 && pwd && make build && make deploy run: cd linux/advanced/python/main/3.9 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.10 Main Image:" - name: "Build and Deploy Python 3.10 Main Image:"
run: cd linux/advanced/python/main/3.10 && pwd && make build && make deploy run: cd linux/advanced/python/main/3.10 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Python 3.11 Main Image:" - name: "Build and Deploy Python 3.11 Main Image:"
run: cd linux/advanced/python/main/3.11 && pwd && make build && make deploy run: cd linux/advanced/python/main/3.11 && pwd && make build && make deploy
@ -48,6 +57,9 @@ jobs:
- name: "Build and Deploy Python 3.13 Main Image:" - name: "Build and Deploy Python 3.13 Main Image:"
run: cd linux/advanced/python/main/3.13 && pwd && make build && make deploy run: cd linux/advanced/python/main/3.13 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
################################################################################## ##################################################################################
build-python-develop-images: build-python-develop-images:
@ -69,24 +81,38 @@ jobs:
- name: "Build and Deploy Python 3.6 Develop Image:" - name: "Build and Deploy Python 3.6 Develop Image:"
run: cd linux/advanced/python/develop/3.6 && pwd && make build && make deploy run: cd linux/advanced/python/develop/3.6 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Python 3.7 Develop Image:" - name: "Build and Deploy Python 3.7 Develop Image:"
run: cd linux/advanced/python/develop/3.7 && pwd && make build && make deploy run: cd linux/advanced/python/develop/3.7 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.8 Develop Image:" - name: "Build and Deploy Python 3.8 Develop Image:"
run: cd linux/advanced/python/develop/3.8 && pwd && make build && make deploy run: cd linux/advanced/python/develop/3.8 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Python 3.9 Develop Image:" - name: "Build and Deploy Python 3.9 Develop Image:"
run: cd linux/advanced/python/develop/3.9 && pwd && make build && make deploy run: cd linux/advanced/python/develop/3.9 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.10 Develop Image:" - name: "Build and Deploy Python 3.10 Develop Image:"
run: cd linux/advanced/python/develop/3.10 && pwd && make build && make deploy run: cd linux/advanced/python/develop/3.10 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Python 3.11 Develop Image:" - name: "Build and Deploy Python 3.11 Develop Image:"
run: cd linux/advanced/python/develop/3.11 && pwd && make build && make deploy run: cd linux/advanced/python/develop/3.11 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.12 Develop Image:" - name: "Build and Deploy Python 3.12 Develop Image:"
run: cd linux/advanced/python/develop/3.12 && pwd && make build && make deploy run: cd linux/advanced/python/develop/3.12 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Python 3.13 Develop Image:" - name: "Build and Deploy Python 3.13 Develop Image:"
run: cd linux/advanced/python/develop/3.13 && pwd && make build && make deploy run: cd linux/advanced/python/develop/3.13 && pwd && make build && make deploy

View File

@ -35,6 +35,9 @@ jobs:
- name: "Build and Deploy Advanced Vscode Server Android Images:" - name: "Build and Deploy Advanced Vscode Server Android Images:"
run: cd linux/advanced/vscode-server/android && pwd && make build && make deploy run: cd linux/advanced/vscode-server/android && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Advanced Vscode Server CPP Images:" - name: "Build and Deploy Advanced Vscode Server CPP Images:"
run: cd linux/advanced/vscode-server/cpp && pwd && make build && make deploy run: cd linux/advanced/vscode-server/cpp && pwd && make build && make deploy
@ -44,6 +47,9 @@ jobs:
- name: "Build and Deploy Advanced Vscode Server Docker Images:" - name: "Build and Deploy Advanced Vscode Server Docker Images:"
run: cd linux/advanced/vscode-server/docker && pwd && make build && make deploy run: cd linux/advanced/vscode-server/docker && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Advanced Vscode Server dotnet Images:" - name: "Build and Deploy Advanced Vscode Server dotnet Images:"
run: cd linux/advanced/vscode-server/dotnet && pwd && make build && make deploy run: cd linux/advanced/vscode-server/dotnet && pwd && make build && make deploy

View File

@ -54,6 +54,9 @@ jobs:
- name: "Build and Deploy Gitlab Runner Atlassian SDK Image:" - name: "Build and Deploy Gitlab Runner Atlassian SDK Image:"
run: cd linux/ecosystem/gitlab/runner/atlassian-sdk && pwd && make build && make deploy run: cd linux/ecosystem/gitlab/runner/atlassian-sdk && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Gitlab Runner dotNet SDK Image:" - name: "Build and Deploy Gitlab Runner dotNet SDK Image:"
run: cd linux/ecosystem/gitlab/runner/dotnet-sdk && pwd && make build && make deploy run: cd linux/ecosystem/gitlab/runner/dotnet-sdk && pwd && make build && make deploy
@ -69,6 +72,9 @@ jobs:
- name: "Build and Deploy Gitlab Runner node15 Image:" - name: "Build and Deploy Gitlab Runner node15 Image:"
run: cd linux/ecosystem/gitlab/runner/node15 && pwd && make build && make deploy run: cd linux/ecosystem/gitlab/runner/node15 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Gitlab Runner node16 Image:" - name: "Build and Deploy Gitlab Runner node16 Image:"
run: cd linux/ecosystem/gitlab/runner/node16 && pwd && make build && make deploy run: cd linux/ecosystem/gitlab/runner/node16 && pwd && make build && make deploy
@ -84,6 +90,9 @@ jobs:
- name: "Build and Deploy Gitlab Runner node20 Image:" - name: "Build and Deploy Gitlab Runner node20 Image:"
run: cd linux/ecosystem/gitlab/runner/node20 && pwd && make build && make deploy run: cd linux/ecosystem/gitlab/runner/node20 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Gitlab Runner php7.2 Image:" - name: "Build and Deploy Gitlab Runner php7.2 Image:"
run: cd linux/ecosystem/gitlab/runner/php7.2 && pwd && make build && make deploy run: cd linux/ecosystem/gitlab/runner/php7.2 && pwd && make build && make deploy
@ -93,6 +102,9 @@ jobs:
- name: "Build and Deploy Gitlab Runner php7.4 Image:" - name: "Build and Deploy Gitlab Runner php7.4 Image:"
run: cd linux/ecosystem/gitlab/runner/php7.4 && pwd && make build && make deploy run: cd linux/ecosystem/gitlab/runner/php7.4 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Gitlab Runner php8.0 Image:" - name: "Build and Deploy Gitlab Runner php8.0 Image:"
run: cd linux/ecosystem/gitlab/runner/php8.0 && pwd && make build && make deploy run: cd linux/ecosystem/gitlab/runner/php8.0 && pwd && make build && make deploy

View File

@ -97,6 +97,9 @@ jobs:
- name: "Build and Deploy Debian 8 jdk21 Image:" - name: "Build and Deploy Debian 8 jdk21 Image:"
run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk21 && pwd && make build && make deploy run: cd linux/ecosystem/epicmorg/debian/08-jessie/jdk21 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
################################################################################## ##################################################################################
build-09-images: build-09-images:

View File

@ -28,47 +28,56 @@ jobs:
run: cd linux/ecosystem/nodejs/current && pwd && make build && make deploy run: cd linux/ecosystem/nodejs/current && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 4 Image:" - name: "Build and Deploy NodeJS 4 Image:"
run: cd linux/ecosystem/nodejs/node4 && pwd && make build && make deploy run: cd linux/ecosystem/nodejs/outdated/node4 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 6 Image:" - name: "Build and Deploy NodeJS 6 Image:"
run: cd linux/ecosystem/nodejs/node6 && pwd && make build && make deploy run: cd linux/ecosystem/nodejs/outdated/node6 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 8 Image:" - name: "Build and Deploy NodeJS 8 Image:"
run: cd linux/ecosystem/nodejs/node8 && pwd && make build && make deploy run: cd linux/ecosystem/nodejs/outdated/node8 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy NodeJS 10 Image:" - name: "Build and Deploy NodeJS 10 Image:"
run: cd linux/ecosystem/nodejs/node10 && pwd && make build && make deploy run: cd linux/ecosystem/nodejs/outdated/node10 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 11 Image:" - name: "Build and Deploy NodeJS 11 Image:"
run: cd linux/ecosystem/nodejs/node11 && pwd && make build && make deploy run: cd linux/ecosystem/nodejs/outdated/node11 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 12 Image:" - name: "Build and Deploy NodeJS 12 Image:"
run: cd linux/ecosystem/nodejs/node12 && pwd && make build && make deploy run: cd linux/ecosystem/nodejs/outdated/node12 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 13 Image:" - name: "Build and Deploy NodeJS 13 Image:"
run: cd linux/ecosystem/nodejs/node13 && pwd && make build && make deploy run: cd linux/ecosystem/nodejs/outdated/node13 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 14 Image:" - name: "Build and Deploy NodeJS 14 Image:"
run: cd linux/ecosystem/nodejs/node14 && pwd && make build && make deploy run: cd linux/ecosystem/nodejs/outdated/node14 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 15 Image:" - name: "Build and Deploy NodeJS 15 Image:"
run: cd linux/ecosystem/nodejs/node15 && pwd && make build && make deploy run: cd linux/ecosystem/nodejs/outdated/node15 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy NodeJS 16 Image:" - name: "Build and Deploy NodeJS 16 Image:"
run: cd linux/ecosystem/nodejs/node16 && pwd && make build && make deploy run: cd linux/ecosystem/nodejs/outdated/node16 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 17 Image:" - name: "Build and Deploy NodeJS 17 Image:"
run: cd linux/ecosystem/nodejs/node17 && pwd && make build && make deploy run: cd linux/ecosystem/nodejs/outdated/node17 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 18 Image:" - name: "Build and Deploy NodeJS 18 Image:"
run: cd linux/ecosystem/nodejs/node18 && pwd && make build && make deploy run: cd linux/ecosystem/nodejs/outdated/node18 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 19 Image:" - name: "Build and Deploy NodeJS 19 Image:"
run: cd linux/ecosystem/nodejs/node19 && pwd && make build && make deploy run: cd linux/ecosystem/nodejs/outdated/node19 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 20 Image:" - name: "Build and Deploy NodeJS 20 Image:"
run: cd linux/ecosystem/nodejs/node20 && pwd && make build && make deploy run: cd linux/ecosystem/nodejs/node20 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 21 Image:"
run: cd linux/ecosystem/nodejs/node21 && pwd && make build && make deploy
################################################################################## ##################################################################################
- name: Cleanup - name: Cleanup

View File

@ -39,6 +39,9 @@ jobs:
- name: "Build and Deploy PostgreSQL 9.2 Image:" - name: "Build and Deploy PostgreSQL 9.2 Image:"
run: cd linux/ecosystem/postgres/9.2 && pwd && make build && make deploy run: cd linux/ecosystem/postgres/9.2 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy PostgreSQL 9.3 Image:" - name: "Build and Deploy PostgreSQL 9.3 Image:"
run: cd linux/ecosystem/postgres/9.3 && pwd && make build && make deploy run: cd linux/ecosystem/postgres/9.3 && pwd && make build && make deploy
@ -54,6 +57,9 @@ jobs:
- name: "Build and Deploy PostgreSQL 10 Image:" - name: "Build and Deploy PostgreSQL 10 Image:"
run: cd linux/ecosystem/postgres/10 && pwd && make build && make deploy run: cd linux/ecosystem/postgres/10 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy PostgreSQL 11 Image:" - name: "Build and Deploy PostgreSQL 11 Image:"
run: cd linux/ecosystem/postgres/11 && pwd && make build && make deploy run: cd linux/ecosystem/postgres/11 && pwd && make build && make deploy

View File

@ -48,6 +48,9 @@ jobs:
- name: "Build and Deploy TeamCity Agent Android SDK Image:" - name: "Build and Deploy TeamCity Agent Android SDK Image:"
run: cd linux/ecosystem/teamcity/agent/android-sdk && pwd && make build && make deploy run: cd linux/ecosystem/teamcity/agent/android-sdk && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy TeamCity Agent Atlassian SDK Image:" - name: "Build and Deploy TeamCity Agent Atlassian SDK Image:"
run: cd linux/ecosystem/teamcity/agent/atlassian-sdk && pwd && make build && make deploy run: cd linux/ecosystem/teamcity/agent/atlassian-sdk && pwd && make build && make deploy
@ -63,6 +66,9 @@ jobs:
- name: "Build and Deploy TeamCity Agent node14 Image:" - name: "Build and Deploy TeamCity Agent node14 Image:"
run: cd linux/ecosystem/teamcity/agent/node14 && pwd && make build && make deploy run: cd linux/ecosystem/teamcity/agent/node14 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy TeamCity Agent node15 Image:" - name: "Build and Deploy TeamCity Agent node15 Image:"
run: cd linux/ecosystem/teamcity/agent/node15 && pwd && make build && make deploy run: cd linux/ecosystem/teamcity/agent/node15 && pwd && make build && make deploy
@ -75,6 +81,9 @@ jobs:
- name: "Build and Deploy TeamCity Agent node18 Image:" - name: "Build and Deploy TeamCity Agent node18 Image:"
run: cd linux/ecosystem/teamcity/agent/node18 && pwd && make build && make deploy run: cd linux/ecosystem/teamcity/agent/node18 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy TeamCity Agent node19 Image:" - name: "Build and Deploy TeamCity Agent node19 Image:"
run: cd linux/ecosystem/teamcity/agent/node19 && pwd && make build && make deploy run: cd linux/ecosystem/teamcity/agent/node19 && pwd && make build && make deploy
@ -87,6 +96,9 @@ jobs:
- name: "Build and Deploy TeamCity Agent php7.3 Image:" - name: "Build and Deploy TeamCity Agent php7.3 Image:"
run: cd linux/ecosystem/teamcity/agent/php7.3 && pwd && make build && make deploy run: cd linux/ecosystem/teamcity/agent/php7.3 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy TeamCity Agent php7.4 Image:" - name: "Build and Deploy TeamCity Agent php7.4 Image:"
run: cd linux/ecosystem/teamcity/agent/php7.4 && pwd && make build && make deploy run: cd linux/ecosystem/teamcity/agent/php7.4 && pwd && make build && make deploy

View File

@ -72,6 +72,48 @@ jobs:
- name: Test Make - name: Test Make
run: make run: make
- name: Build and Deploy qBittorrent 4.4.0
run: cd linux/ecosystem/qbittorrent/4.4.0 && make build && make deploy
- name: Build and Deploy qBittorrent 4.4.1
run: cd linux/ecosystem/qbittorrent/4.4.1 && make build && make deploy
- name: Build and Deploy qBittorrent 4.4.2
run: cd linux/ecosystem/qbittorrent/4.4.2 && make build && make deploy
- name: Build and Deploy qBittorrent 4.4.3
run: cd linux/ecosystem/qbittorrent/4.4.3 && make build && make deploy
- name: Build and Deploy qBittorrent 4.4.4
run: cd linux/ecosystem/qbittorrent/4.4.4 && make build && make deploy
- name: Build and Deploy qBittorrent 4.4.5
run: cd linux/ecosystem/qbittorrent/4.4.5 && make build && make deploy
- name: Build and Deploy qBittorrent 4.5.0
run: cd linux/ecosystem/qbittorrent/4.5.0 && make build && make deploy
- name: Build and Deploy qBittorrent 4.5.1
run: cd linux/ecosystem/qbittorrent/4.5.1 && make build && make deploy
- name: Build and Deploy qBittorrent 4.5.2
run: cd linux/ecosystem/qbittorrent/4.5.2 && make build && make deploy
- name: Build and Deploy qBittorrent 4.5.3
run: cd linux/ecosystem/qbittorrent/4.5.3 && make build && make deploy
- name: Build and Deploy qBittorrent 4.5.4
run: cd linux/ecosystem/qbittorrent/4.5.4 && make build && make deploy
- name: Build and Deploy qBittorrent 4.5.5
run: cd linux/ecosystem/qbittorrent/4.5.5 && make build && make deploy
- name: Build and Deploy qBittorrent 4.6.0
run: cd linux/ecosystem/qbittorrent/4.6.0 && make build && make deploy
- name: Build and Deploy qBittorrent 4.6.1
run: cd linux/ecosystem/qbittorrent/4.6.1 && make build && make deploy
- name: Build and Deploy qBittorrent 4.6.2 - name: Build and Deploy qBittorrent 4.6.2
run: cd linux/ecosystem/qbittorrent/4.6.2 && make build && make deploy run: cd linux/ecosystem/qbittorrent/4.6.2 && make build && make deploy

View File

@ -11,6 +11,8 @@
* updated `LazyGIT` to `0.40.2` * updated `LazyGIT` to `0.40.2`
* updated `p4` to `23.2` in base images * updated `p4` to `23.2` in base images
* updated `perforce` iamges - `p4` and `p4p` to `r23.1` and `r23.2` * updated `perforce` iamges - `p4` and `p4p` to `r23.1` and `r23.2`
* updated `qbittorrent` iamges
* updated `nodejs` iamges
* `jan` * `jan`
* new versions of images * new versions of images
* CVE-2023-22527 - RCE (Remote Code Execution) Vulnerability In Confluence Data Center and Confluence Server * CVE-2023-22527 - RCE (Remote Code Execution) Vulnerability In Confluence Data Center and Confluence Server

View File

@ -572,21 +572,22 @@ ecosystem-electron-release-server-images:
ecosystem-nodejs-images: ecosystem-nodejs-images:
cd `pwd`/linux/ecosystem/nodejs/current && pwd && make build && make deploy cd `pwd`/linux/ecosystem/nodejs/current && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/lts && pwd && make build && make deploy cd `pwd`/linux/ecosystem/nodejs/lts && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/node4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/node6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/node8 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/node10 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/node11 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/node12 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/node13 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/node14 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/node15 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/node16 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/node17 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/node18 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/node19 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/node20 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/nodejs/node20 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/node21 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/nodejs/node21 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/outdated/node4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/outdated/node6 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/outdated/node8 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/outdated/node10 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/outdated/node11 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/outdated/node12 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/outdated/node13 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/outdated/node14 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/outdated/node15 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/outdated/node16 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/outdated/node17 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/outdated/node18 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/nodejs/outdated/node19 && pwd && make build && make deploy
ecosystem-ninjam-image: ecosystem-ninjam-image:
cd `pwd`/linux/ecosystem/ninjam/latest && pwd && make build && make deploy cd `pwd`/linux/ecosystem/ninjam/latest && pwd && make build && make deploy
@ -596,6 +597,19 @@ ecosystem-vk2discord-images:
ecosystem-qbittorrent-images: ecosystem-qbittorrent-images:
cd `pwd`/linux/ecosystem/qbittorrent/4.4.0 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/qbittorrent/4.4.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.4.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.4.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.4.3.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.4.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.4.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.5.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.5.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.5.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.5.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.5.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.5.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.6.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.6.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.6.2 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/qbittorrent/4.6.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.6.3 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/qbittorrent/4.6.3 && pwd && make build && make deploy

View File

@ -0,0 +1,29 @@
##################################################################
# perforce client binary
##################################################################
P4_VERSION=r23.2
P4_DOWNLOAD_URL=https://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
##################################################################
# 7z official binary
##################################################################
SZ_VERSION=7z2400
SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
##################################################################
# LazyGit official binary
##################################################################
LZGIT_VERSION=0.40.2
LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz
##################################################################
# dumb init
##################################################################
DUMB_INIT_VERSION=1.2.5
DUMB_INIT_DOWNLOAD_URL=https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64
##################################################################
# gosu
##################################################################
GOSU_VER=1.17
GOSU_DOWNLOAD_URL=https://github.com/tianon/gosu/releases/download/${GOSU_VER}/gosu-amd64

View File

@ -21,6 +21,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w
# prepare system # prepare system
################################################################## ##################################################################
RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN mkdir -p /etc/apt/keyrings
################################################################## ##################################################################
# sources list # sources list
@ -28,8 +29,10 @@ RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN rm -rfv /etc/apt/sources.list RUN rm -rfv /etc/apt/sources.list
RUN rm -rfv /etc/locale.gen 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/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until
COPY etc/apt/apt.conf.d/98-allow-unauthenticated /etc/apt/apt.conf.d/98-allow-unauthenticated
COPY etc/apt/apt.conf.d/97-allow-cert-exp /etc/apt/apt.conf.d/97-allow-cert-exp
COPY etc/apt/apt.conf.d/96-apt-retries /etc/apt/apt.conf.d/96-apt-retries
COPY etc/apt/sources.list /etc/apt/sources.list COPY etc/apt/sources.list /etc/apt/sources.list
COPY etc/locale.gen /etc/locale.gen COPY etc/locale.gen /etc/locale.gen
@ -37,12 +40,6 @@ RUN apt-get update && \
apt-get upgrade -y && \ apt-get upgrade -y && \
apt-get dist-upgrade -y apt-get dist-upgrade -y
##################################################################
# Version
##################################################################
RUN python --version
RUN pip --version
################################################################## ##################################################################
# installing utils # installing utils
################################################################## ##################################################################
@ -68,22 +65,20 @@ RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | x
RUN update-ca-certificates RUN update-ca-certificates
################################################################## ##################################################################
# perforce client binary # ARGuments
################################################################## ##################################################################
ARG P4_VERSION=r23.2
ARG P4_DOWNLOAD_URL=http://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
################################################################## #configured by dockerfile / .ENV
# 7z official binary ARG P4_VERSION
################################################################## ARG P4_DOWNLOAD_URL
ARG SZ_VERSION=7z2400 ARG SZ_VERSION
ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz ARG SZ_DOWNLOAD_URL
ARG LZGIT_VERSION
################################################################## ARG LZGIT_DOWNLOAD_URL
# LazyGit official binary ARG DUMB_INIT_VERSION
################################################################## ARG DUMB_INIT_DOWNLOAD_URL
ARG LZGIT_VERSION=0.40.2 ARG GOSU_VER
ARG LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz ARG GOSU_DOWNLOAD_URL
################################################################## ##################################################################
# update lists # update lists
@ -217,41 +212,50 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
################################################################## ##################################################################
# git fresh binary # git fresh binary
################################################################## ##################################################################
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1715D88E1DF1F24 && \ RUN gpg --keyserver keyserver.ubuntu.com --recv-keys A1715D88E1DF1F24 && \
gpg --export --output /etc/apt/keyrings/launchpad-git.gpg A1715D88E1DF1F24 && \
rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \
rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list
COPY etc/apt/sources.list.d/launchpad_git-mainline.list /etc/apt/sources.list.d/launchpad_git-mainline.list COPY etc/apt/sources.list.d/launchpad_git-mainline.list /etc/apt/sources.list.d/launchpad_git-mainline.list
COPY etc/apt/sources.list.d/launchpad_git-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list COPY etc/apt/sources.list.d/launchpad_git-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
git && \ git
git --version
RUN echo "=============================================" && \
echo git $(git --version) && \
echo "============================================="
################################################################## ##################################################################
# git-lfs official binary # 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 curl -fsSL https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list 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 COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
git \ git \
git-lfs && \ git-lfs && \
git --version && \ git-lfs install --skip-repo
git-lfs install --skip-repo && \
git-lfs --version RUN echo "=============================================" && \
echo git $(git --version) && \
echo git-lfs $(git-lfs --version) && \
echo "============================================="
################################################################## ##################################################################
# gh official binary # 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 && \ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/githubcli-archive-keyring.gpg && \
chmod go+r /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \ chmod go+r /etc/apt/keyrings/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 && \ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/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 update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
gh && \ gh
gh --version
RUN echo "=============================================" && \
echo gh $(gh --version) && \
echo "============================================="
################################################################## ##################################################################
# Install p4client # Install p4client
@ -266,9 +270,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/7z && \ mkdir -p /tmp/7z && \
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \ tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
chmod +x /tmp/7z/7zz && \ chmod +x /tmp/7z/7zz && \
mv -fv /tmp/7z/7zz /usr/bin/ && \ mv -fv /tmp/7z/7zz /usr/bin/
7zz | head -4 && \
7z | head -4 RUN echo "=============================================" && \
echo 7zz $(7zz | head -4) && \
echo 7z $(7z | head -4) && \
echo "============================================="
################################################################## ##################################################################
# Install LazyGit official binary # Install LazyGit official binary
@ -277,21 +284,46 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/lazygit && \ mkdir -p /tmp/lazygit && \
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \ tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
chmod +x /tmp/lazygit/lazygit && \ chmod +x /tmp/lazygit/lazygit && \
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \ mv -fv /tmp/lazygit/lazygit /usr/bin/
echo "lazygit version:" && \
lazygit --version
RUN echo "=============================================" && \
echo lazygit $(lazygit --version) && \
echo "============================================="
##################################################################
# dumb init
##################################################################
RUN wget -q --no-check-certificate -c ${DUMB_INIT_DOWNLOAD_URL} --random-wait -O /usr/bin/dumb-init && \
chmod +x /usr/bin/dumb-init
RUN echo "=============================================" && \
echo dumb-init $(dumb-init --version) && \
echo "============================================="
##################################################################
# gosu for easy step-down from root
##################################################################
RUN wget -q --no-check-certificate -c ${GOSU_DOWNLOAD_URL} --random-wait -O /usr/local/bin/gosu && \
chmod +x /usr/local/bin/gosu
RUN echo "=============================================" && \
echo gosu $(gosu --version) && \
echo "============================================="
################################################################## ##################################################################
# Version # Version
################################################################## ##################################################################
RUN python --version RUN echo "=============================================" && \
RUN pip --version echo python3 $(python3 --version) && \
echo pip3 $(pip3 --version) && \
echo python $(python --version) && \
echo pip $(pip --version) && \
echo "============================================="
################################################################## ##################################################################
# Generate ssl key # Generate ssl key
################################################################## ##################################################################
#RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096 RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
################################################################## ##################################################################
# update locales # update locales

View File

@ -4,3 +4,14 @@ services:
image: "epicmorg/python:2.7" image: "epicmorg/python:2.7"
build: build:
context: . context: .
args:
P4_VERSION: ${P4_VERSION}
P4_DOWNLOAD_URL: ${P4_DOWNLOAD_URL}
SZ_VERSION: ${SZ_VERSION}
SZ_DOWNLOAD_URL: ${SZ_DOWNLOAD_URL}
LZGIT_VERSION: ${LZGIT_VERSION}
LZGIT_DOWNLOAD_URL: ${LZGIT_DOWNLOAD_URL}
DUMB_INIT_VERSION: ${DUMB_INIT_VERSION}
DUMB_INIT_DOWNLOAD_URL: ${DUMB_INIT_DOWNLOAD_URL}
GOSU_VER: ${GOSU_VER}
GOSU_DOWNLOAD_URL: ${GOSU_DOWNLOAD_URL}

View File

@ -0,0 +1 @@
Acquire::Retries "9";

View File

@ -0,0 +1,2 @@
Acquire::https::Verify-Peer "false";
Acquire::https::Verify-Host "false";

View File

@ -0,0 +1 @@
APT::Get::AllowUnauthenticated "true";

View File

@ -1,2 +1,2 @@
deb https://packagecloud.io/github/git-lfs/debian/ buster main deb [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ buster main
deb-src https://packagecloud.io/github/git-lfs/debian/ buster main deb-src [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ buster main

View File

@ -1,3 +1,3 @@
# mainline # mainline
deb https://ppa.launchpadcontent.net/git-core/candidate/ubuntu cosmic main deb [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/candidate/ubuntu cosmic main
deb-src https://ppa.launchpadcontent.net/git-core/candidate/ubuntu cosmic main deb-src [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/candidate/ubuntu cosmic main

View File

@ -1,3 +1,3 @@
# stable # stable
deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu cosmic main deb [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/ppa/ubuntu cosmic main
deb-src https://ppa.launchpadcontent.net/git-core/ppa/ubuntu cosmic main deb-src [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/ppa/ubuntu cosmic main

View File

@ -0,0 +1,29 @@
##################################################################
# perforce client binary
##################################################################
P4_VERSION=r23.2
P4_DOWNLOAD_URL=https://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
##################################################################
# 7z official binary
##################################################################
SZ_VERSION=7z2400
SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
##################################################################
# LazyGit official binary
##################################################################
LZGIT_VERSION=0.40.2
LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz
##################################################################
# dumb init
##################################################################
DUMB_INIT_VERSION=1.2.5
DUMB_INIT_DOWNLOAD_URL=https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64
##################################################################
# gosu
##################################################################
GOSU_VER=1.17
GOSU_DOWNLOAD_URL=https://github.com/tianon/gosu/releases/download/${GOSU_VER}/gosu-amd64

View File

@ -21,6 +21,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w
# prepare system # prepare system
################################################################## ##################################################################
RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN mkdir -p /etc/apt/keyrings
################################################################## ##################################################################
# sources list # sources list
@ -28,8 +29,10 @@ RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN rm -rfv /etc/apt/sources.list RUN rm -rfv /etc/apt/sources.list
RUN rm -rfv /etc/locale.gen 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/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until
COPY etc/apt/apt.conf.d/98-allow-unauthenticated /etc/apt/apt.conf.d/98-allow-unauthenticated
COPY etc/apt/apt.conf.d/97-allow-cert-exp /etc/apt/apt.conf.d/97-allow-cert-exp
COPY etc/apt/apt.conf.d/96-apt-retries /etc/apt/apt.conf.d/96-apt-retries
COPY etc/apt/sources.list /etc/apt/sources.list COPY etc/apt/sources.list /etc/apt/sources.list
COPY etc/locale.gen /etc/locale.gen COPY etc/locale.gen /etc/locale.gen
@ -37,15 +40,6 @@ RUN apt-get update && \
apt-get upgrade -y && \ apt-get upgrade -y && \
apt-get dist-upgrade -y apt-get dist-upgrade -y
##################################################################
# Version
##################################################################
RUN python3 --version
RUN pip3 --version
RUN python --version
RUN pip --version
################################################################## ##################################################################
# installing utils # installing utils
################################################################## ##################################################################
@ -71,22 +65,20 @@ RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | x
RUN update-ca-certificates RUN update-ca-certificates
################################################################## ##################################################################
# perforce client binary # ARGuments
################################################################## ##################################################################
ARG P4_VERSION=r23.2
ARG P4_DOWNLOAD_URL=http://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
################################################################## #configured by dockerfile / .ENV
# 7z official binary ARG P4_VERSION
################################################################## ARG P4_DOWNLOAD_URL
ARG SZ_VERSION=7z2400 ARG SZ_VERSION
ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz ARG SZ_DOWNLOAD_URL
ARG LZGIT_VERSION
################################################################## ARG LZGIT_DOWNLOAD_URL
# LazyGit official binary ARG DUMB_INIT_VERSION
################################################################## ARG DUMB_INIT_DOWNLOAD_URL
ARG LZGIT_VERSION=0.40.2 ARG GOSU_VER
ARG LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz ARG GOSU_DOWNLOAD_URL
################################################################## ##################################################################
# update lists # update lists
@ -219,41 +211,50 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
################################################################## ##################################################################
# git fresh binary # git fresh binary
################################################################## ##################################################################
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1715D88E1DF1F24 && \ RUN gpg --keyserver keyserver.ubuntu.com --recv-keys A1715D88E1DF1F24 && \
gpg --export --output /etc/apt/keyrings/launchpad-git.gpg A1715D88E1DF1F24 && \
rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \
rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list
COPY etc/apt/sources.list.d/launchpad_git-mainline.list /etc/apt/sources.list.d/launchpad_git-mainline.list COPY etc/apt/sources.list.d/launchpad_git-mainline.list /etc/apt/sources.list.d/launchpad_git-mainline.list
COPY etc/apt/sources.list.d/launchpad_git-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list COPY etc/apt/sources.list.d/launchpad_git-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
git && \ git
git --version
RUN echo "=============================================" && \
echo git $(git --version) && \
echo "============================================="
################################################################## ##################################################################
# git-lfs official binary # 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 curl -fsSL https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list 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 COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
git \ git \
git-lfs && \ git-lfs && \
git --version && \ git-lfs install --skip-repo
git-lfs install --skip-repo && \
git-lfs --version RUN echo "=============================================" && \
echo git $(git --version) && \
echo git-lfs $(git-lfs --version) && \
echo "============================================="
################################################################## ##################################################################
# gh official binary # 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 && \ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/githubcli-archive-keyring.gpg && \
chmod go+r /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \ chmod go+r /etc/apt/keyrings/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 && \ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/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 update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
gh && \ gh
gh --version
RUN echo "=============================================" && \
echo gh $(gh --version) && \
echo "============================================="
################################################################## ##################################################################
# Install p4client # Install p4client
@ -268,9 +269,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/7z && \ mkdir -p /tmp/7z && \
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \ tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
chmod +x /tmp/7z/7zz && \ chmod +x /tmp/7z/7zz && \
mv -fv /tmp/7z/7zz /usr/bin/ && \ mv -fv /tmp/7z/7zz /usr/bin/
7zz | head -4 && \
7z | head -4 RUN echo "=============================================" && \
echo 7zz $(7zz | head -4) && \
echo 7z $(7z | head -4) && \
echo "============================================="
################################################################## ##################################################################
# Install LazyGit official binary # Install LazyGit official binary
@ -279,22 +283,46 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/lazygit && \ mkdir -p /tmp/lazygit && \
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \ tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
chmod +x /tmp/lazygit/lazygit && \ chmod +x /tmp/lazygit/lazygit && \
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \ mv -fv /tmp/lazygit/lazygit /usr/bin/
echo "lazygit version:" && \
lazygit --version RUN echo "=============================================" && \
echo lazygit $(lazygit --version) && \
echo "============================================="
##################################################################
# dumb init
##################################################################
RUN wget -q --no-check-certificate -c ${DUMB_INIT_DOWNLOAD_URL} --random-wait -O /usr/bin/dumb-init && \
chmod +x /usr/bin/dumb-init
RUN echo "=============================================" && \
echo dumb-init $(dumb-init --version) && \
echo "============================================="
##################################################################
# gosu for easy step-down from root
##################################################################
RUN wget -q --no-check-certificate -c ${GOSU_DOWNLOAD_URL} --random-wait -O /usr/local/bin/gosu && \
chmod +x /usr/local/bin/gosu
RUN echo "=============================================" && \
echo gosu $(gosu --version) && \
echo "============================================="
################################################################## ##################################################################
# Version # Version
################################################################## ##################################################################
RUN python3 --version RUN echo "=============================================" && \
RUN pip3 --version echo python3 $(python3 --version) && \
RUN python --version echo pip3 $(pip3 --version) && \
RUN pip --version echo python $(python --version) && \
echo pip $(pip --version) && \
echo "============================================="
################################################################## ##################################################################
# Generate ssl key # Generate ssl key
################################################################## ##################################################################
#RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096 RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
################################################################## ##################################################################
# update locales # update locales

View File

@ -4,3 +4,14 @@ services:
image: "epicmorg/python:3.10" image: "epicmorg/python:3.10"
build: build:
context: . context: .
args:
P4_VERSION: ${P4_VERSION}
P4_DOWNLOAD_URL: ${P4_DOWNLOAD_URL}
SZ_VERSION: ${SZ_VERSION}
SZ_DOWNLOAD_URL: ${SZ_DOWNLOAD_URL}
LZGIT_VERSION: ${LZGIT_VERSION}
LZGIT_DOWNLOAD_URL: ${LZGIT_DOWNLOAD_URL}
DUMB_INIT_VERSION: ${DUMB_INIT_VERSION}
DUMB_INIT_DOWNLOAD_URL: ${DUMB_INIT_DOWNLOAD_URL}
GOSU_VER: ${GOSU_VER}
GOSU_DOWNLOAD_URL: ${GOSU_DOWNLOAD_URL}

View File

@ -0,0 +1 @@
Acquire::Retries "9";

View File

@ -0,0 +1,2 @@
Acquire::https::Verify-Peer "false";
Acquire::https::Verify-Host "false";

View File

@ -0,0 +1 @@
APT::Get::AllowUnauthenticated "true";

View File

@ -1,2 +1,2 @@
deb https://packagecloud.io/github/git-lfs/debian/ bullseye main deb [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ bullseye main
deb-src https://packagecloud.io/github/git-lfs/debian/ bullseye main deb-src [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ bullseye main

View File

@ -1,3 +1,3 @@
# mainline # mainline
deb https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main deb [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main
deb-src https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main deb-src [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main

View File

@ -1,3 +1,3 @@
# stable # stable
deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main deb [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main
deb-src https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main deb-src [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main

View File

@ -0,0 +1,29 @@
##################################################################
# perforce client binary
##################################################################
P4_VERSION=r23.2
P4_DOWNLOAD_URL=https://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
##################################################################
# 7z official binary
##################################################################
SZ_VERSION=7z2400
SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
##################################################################
# LazyGit official binary
##################################################################
LZGIT_VERSION=0.40.2
LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz
##################################################################
# dumb init
##################################################################
DUMB_INIT_VERSION=1.2.5
DUMB_INIT_DOWNLOAD_URL=https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64
##################################################################
# gosu
##################################################################
GOSU_VER=1.17
GOSU_DOWNLOAD_URL=https://github.com/tianon/gosu/releases/download/${GOSU_VER}/gosu-amd64

View File

@ -21,6 +21,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w
# prepare system # prepare system
################################################################## ##################################################################
RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN mkdir -p /etc/apt/keyrings
################################################################## ##################################################################
# sources list # sources list
@ -28,15 +29,13 @@ RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN rm -rfv /etc/apt/sources.list RUN rm -rfv /etc/apt/sources.list
RUN rm -rfv /etc/locale.gen 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/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until
COPY etc/apt/apt.conf.d/98-allow-unauthenticated /etc/apt/apt.conf.d/98-allow-unauthenticated
COPY etc/apt/apt.conf.d/97-allow-cert-exp /etc/apt/apt.conf.d/97-allow-cert-exp
COPY etc/apt/apt.conf.d/96-apt-retries /etc/apt/apt.conf.d/96-apt-retries
COPY etc/apt/sources.list /etc/apt/sources.list COPY etc/apt/sources.list /etc/apt/sources.list
COPY etc/locale.gen /etc/locale.gen COPY etc/locale.gen /etc/locale.gen
RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 54404762BBB6E853
RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | xargs -n1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
RUN apt-get update && \ RUN apt-get update && \
apt-get upgrade -y && \ apt-get upgrade -y && \
apt-get dist-upgrade -y apt-get dist-upgrade -y
@ -60,25 +59,26 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
software-properties-common \ software-properties-common \
sudo 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 RUN update-ca-certificates
################################################################## ##################################################################
# perforce client binary # ARGuments
################################################################## ##################################################################
ARG P4_VERSION=r23.2
ARG P4_DOWNLOAD_URL=http://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
################################################################## #configured by dockerfile / .ENV
# 7z official binary ARG P4_VERSION
################################################################## ARG P4_DOWNLOAD_URL
ARG SZ_VERSION=7z2400 ARG SZ_VERSION
ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz ARG SZ_DOWNLOAD_URL
ARG LZGIT_VERSION
################################################################## ARG LZGIT_DOWNLOAD_URL
# LazyGit official binary ARG DUMB_INIT_VERSION
################################################################## ARG DUMB_INIT_DOWNLOAD_URL
ARG LZGIT_VERSION=0.40.2 ARG GOSU_VER
ARG LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz ARG GOSU_DOWNLOAD_URL
################################################################## ##################################################################
# update lists # update lists
@ -211,41 +211,50 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
################################################################## ##################################################################
# git fresh binary # git fresh binary
################################################################## ##################################################################
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1715D88E1DF1F24 && \ RUN gpg --keyserver keyserver.ubuntu.com --recv-keys A1715D88E1DF1F24 && \
gpg --export --output /etc/apt/keyrings/launchpad-git.gpg A1715D88E1DF1F24 && \
rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \
rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list
COPY etc/apt/sources.list.d/launchpad_git-mainline.list /etc/apt/sources.list.d/launchpad_git-mainline.list COPY etc/apt/sources.list.d/launchpad_git-mainline.list /etc/apt/sources.list.d/launchpad_git-mainline.list
COPY etc/apt/sources.list.d/launchpad_git-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list COPY etc/apt/sources.list.d/launchpad_git-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
git && \ git
git --version
RUN echo "=============================================" && \
echo git $(git --version) && \
echo "============================================="
################################################################## ##################################################################
# git-lfs official binary # 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 curl -fsSL https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list 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 COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
git \ git \
git-lfs && \ git-lfs && \
git --version && \ git-lfs install --skip-repo
git-lfs install --skip-repo && \
git-lfs --version RUN echo "=============================================" && \
echo git $(git --version) && \
echo git-lfs $(git-lfs --version) && \
echo "============================================="
################################################################## ##################################################################
# gh official binary # 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 && \ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/githubcli-archive-keyring.gpg && \
chmod go+r /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \ chmod go+r /etc/apt/keyrings/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 && \ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/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 update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
gh && \ gh
gh --version
RUN echo "=============================================" && \
echo gh $(gh --version) && \
echo "============================================="
################################################################## ##################################################################
# Install p4client # Install p4client
@ -260,9 +269,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/7z && \ mkdir -p /tmp/7z && \
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \ tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
chmod +x /tmp/7z/7zz && \ chmod +x /tmp/7z/7zz && \
mv -fv /tmp/7z/7zz /usr/bin/ && \ mv -fv /tmp/7z/7zz /usr/bin/
7zz | head -4 && \
7z | head -4 RUN echo "=============================================" && \
echo 7zz $(7zz | head -4) && \
echo 7z $(7z | head -4) && \
echo "============================================="
################################################################## ##################################################################
# Install LazyGit official binary # Install LazyGit official binary
@ -271,14 +283,46 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/lazygit && \ mkdir -p /tmp/lazygit && \
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \ tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
chmod +x /tmp/lazygit/lazygit && \ chmod +x /tmp/lazygit/lazygit && \
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \ mv -fv /tmp/lazygit/lazygit /usr/bin/
echo "lazygit version:" && \
lazygit --version RUN echo "=============================================" && \
echo lazygit $(lazygit --version) && \
echo "============================================="
##################################################################
# dumb init
##################################################################
RUN wget -q --no-check-certificate -c ${DUMB_INIT_DOWNLOAD_URL} --random-wait -O /usr/bin/dumb-init && \
chmod +x /usr/bin/dumb-init
RUN echo "=============================================" && \
echo dumb-init $(dumb-init --version) && \
echo "============================================="
##################################################################
# gosu for easy step-down from root
##################################################################
RUN wget -q --no-check-certificate -c ${GOSU_DOWNLOAD_URL} --random-wait -O /usr/local/bin/gosu && \
chmod +x /usr/local/bin/gosu
RUN echo "=============================================" && \
echo gosu $(gosu --version) && \
echo "============================================="
##################################################################
# Version
##################################################################
RUN echo "=============================================" && \
echo python3 $(python3 --version) && \
echo pip3 $(pip3 --version) && \
echo python $(python --version) && \
echo pip $(pip --version) && \
echo "============================================="
################################################################## ##################################################################
# Generate ssl key # Generate ssl key
################################################################## ##################################################################
#RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096 RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
################################################################## ##################################################################
# update locales # update locales

View File

@ -0,0 +1 @@
Acquire::Retries "9";

View File

@ -0,0 +1,2 @@
Acquire::https::Verify-Peer "false";
Acquire::https::Verify-Host "false";

View File

@ -0,0 +1 @@
APT::Get::AllowUnauthenticated "true";

View File

@ -1,2 +1,2 @@
deb https://packagecloud.io/github/git-lfs/debian/ bullseye main deb [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ bullseye main
deb-src https://packagecloud.io/github/git-lfs/debian/ bullseye main deb-src [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ bullseye main

View File

@ -1,3 +1,3 @@
# mainline # mainline
deb https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main deb [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main
deb-src https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main deb-src [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main

View File

@ -1,3 +1,3 @@
# stable # stable
deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main deb [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main
deb-src https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main deb-src [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main

View File

@ -0,0 +1,29 @@
##################################################################
# perforce client binary
##################################################################
P4_VERSION=r23.2
P4_DOWNLOAD_URL=https://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
##################################################################
# 7z official binary
##################################################################
SZ_VERSION=7z2400
SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
##################################################################
# LazyGit official binary
##################################################################
LZGIT_VERSION=0.40.2
LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz
##################################################################
# dumb init
##################################################################
DUMB_INIT_VERSION=1.2.5
DUMB_INIT_DOWNLOAD_URL=https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64
##################################################################
# gosu
##################################################################
GOSU_VER=1.17
GOSU_DOWNLOAD_URL=https://github.com/tianon/gosu/releases/download/${GOSU_VER}/gosu-amd64

View File

@ -21,6 +21,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w
# prepare system # prepare system
################################################################## ##################################################################
RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN mkdir -p /etc/apt/keyrings
################################################################## ##################################################################
# sources list # sources list
@ -28,15 +29,13 @@ RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN rm -rfv /etc/apt/sources.list RUN rm -rfv /etc/apt/sources.list
RUN rm -rfv /etc/locale.gen 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/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until
COPY etc/apt/apt.conf.d/98-allow-unauthenticated /etc/apt/apt.conf.d/98-allow-unauthenticated
COPY etc/apt/apt.conf.d/97-allow-cert-exp /etc/apt/apt.conf.d/97-allow-cert-exp
COPY etc/apt/apt.conf.d/96-apt-retries /etc/apt/apt.conf.d/96-apt-retries
COPY etc/apt/sources.list /etc/apt/sources.list COPY etc/apt/sources.list /etc/apt/sources.list
COPY etc/locale.gen /etc/locale.gen COPY etc/locale.gen /etc/locale.gen
RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6ED0E7B82643E131
RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | xargs -n1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
RUN apt-get update && \ RUN apt-get update && \
apt-get upgrade -y && \ apt-get upgrade -y && \
apt-get dist-upgrade -y apt-get dist-upgrade -y
@ -60,25 +59,26 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
software-properties-common \ software-properties-common \
sudo 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 RUN update-ca-certificates
################################################################## ##################################################################
# perforce client binary # ARGuments
################################################################## ##################################################################
ARG P4_VERSION=r23.2
ARG P4_DOWNLOAD_URL=http://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
################################################################## #configured by dockerfile / .ENV
# 7z official binary ARG P4_VERSION
################################################################## ARG P4_DOWNLOAD_URL
ARG SZ_VERSION=7z2400 ARG SZ_VERSION
ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz ARG SZ_DOWNLOAD_URL
ARG LZGIT_VERSION
################################################################## ARG LZGIT_DOWNLOAD_URL
# LazyGit official binary ARG DUMB_INIT_VERSION
################################################################## ARG DUMB_INIT_DOWNLOAD_URL
ARG LZGIT_VERSION=0.40.2 ARG GOSU_VER
ARG LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz ARG GOSU_DOWNLOAD_URL
################################################################## ##################################################################
# update lists # update lists
@ -182,7 +182,6 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
xz-utils \ xz-utils \
zip zip
################################################################## ##################################################################
# installing fs-tools # installing fs-tools
################################################################## ##################################################################
@ -211,41 +210,50 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
################################################################## ##################################################################
# git fresh binary # git fresh binary
################################################################## ##################################################################
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1715D88E1DF1F24 && \ RUN gpg --keyserver keyserver.ubuntu.com --recv-keys A1715D88E1DF1F24 && \
gpg --export --output /etc/apt/keyrings/launchpad-git.gpg A1715D88E1DF1F24 && \
rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \
rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list
COPY etc/apt/sources.list.d/launchpad_git-mainline.list /etc/apt/sources.list.d/launchpad_git-mainline.list COPY etc/apt/sources.list.d/launchpad_git-mainline.list /etc/apt/sources.list.d/launchpad_git-mainline.list
COPY etc/apt/sources.list.d/launchpad_git-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list COPY etc/apt/sources.list.d/launchpad_git-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
git && \ git
git --version
RUN echo "=============================================" && \
echo git $(git --version) && \
echo "============================================="
################################################################## ##################################################################
# git-lfs official binary # 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 curl -fsSL https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list 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 COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
git \ git \
git-lfs && \ git-lfs && \
git --version && \ git-lfs install --skip-repo
git-lfs install --skip-repo && \
git-lfs --version RUN echo "=============================================" && \
echo git $(git --version) && \
echo git-lfs $(git-lfs --version) && \
echo "============================================="
################################################################## ##################################################################
# gh official binary # 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 && \ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/githubcli-archive-keyring.gpg && \
chmod go+r /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \ chmod go+r /etc/apt/keyrings/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 && \ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/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 update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
gh && \ gh
gh --version
RUN echo "=============================================" && \
echo gh $(gh --version) && \
echo "============================================="
################################################################## ##################################################################
# Install p4client # Install p4client
@ -260,9 +268,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/7z && \ mkdir -p /tmp/7z && \
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \ tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
chmod +x /tmp/7z/7zz && \ chmod +x /tmp/7z/7zz && \
mv -fv /tmp/7z/7zz /usr/bin/ && \ mv -fv /tmp/7z/7zz /usr/bin/
7zz | head -4 && \
7z | head -4 RUN echo "=============================================" && \
echo 7zz $(7zz | head -4) && \
echo 7z $(7z | head -4) && \
echo "============================================="
################################################################## ##################################################################
# Install LazyGit official binary # Install LazyGit official binary
@ -271,14 +282,46 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/lazygit && \ mkdir -p /tmp/lazygit && \
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \ tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
chmod +x /tmp/lazygit/lazygit && \ chmod +x /tmp/lazygit/lazygit && \
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \ mv -fv /tmp/lazygit/lazygit /usr/bin/
echo "lazygit version:" && \
lazygit --version RUN echo "=============================================" && \
echo lazygit $(lazygit --version) && \
echo "============================================="
##################################################################
# dumb init
##################################################################
RUN wget -q --no-check-certificate -c ${DUMB_INIT_DOWNLOAD_URL} --random-wait -O /usr/bin/dumb-init && \
chmod +x /usr/bin/dumb-init
RUN echo "=============================================" && \
echo dumb-init $(dumb-init --version) && \
echo "============================================="
##################################################################
# gosu for easy step-down from root
##################################################################
RUN wget -q --no-check-certificate -c ${GOSU_DOWNLOAD_URL} --random-wait -O /usr/local/bin/gosu && \
chmod +x /usr/local/bin/gosu
RUN echo "=============================================" && \
echo gosu $(gosu --version) && \
echo "============================================="
##################################################################
# Version
##################################################################
RUN echo "=============================================" && \
echo python3 $(python3 --version) && \
echo pip3 $(pip3 --version) && \
echo python $(python --version) && \
echo pip $(pip --version) && \
echo "============================================="
################################################################## ##################################################################
# Generate ssl key # Generate ssl key
################################################################## ##################################################################
#RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096 RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
################################################################## ##################################################################
# update locales # update locales

View File

@ -4,3 +4,14 @@ services:
image: "epicmorg/python:3.12" image: "epicmorg/python:3.12"
build: build:
context: . context: .
args:
P4_VERSION: ${P4_VERSION}
P4_DOWNLOAD_URL: ${P4_DOWNLOAD_URL}
SZ_VERSION: ${SZ_VERSION}
SZ_DOWNLOAD_URL: ${SZ_DOWNLOAD_URL}
LZGIT_VERSION: ${LZGIT_VERSION}
LZGIT_DOWNLOAD_URL: ${LZGIT_DOWNLOAD_URL}
DUMB_INIT_VERSION: ${DUMB_INIT_VERSION}
DUMB_INIT_DOWNLOAD_URL: ${DUMB_INIT_DOWNLOAD_URL}
GOSU_VER: ${GOSU_VER}
GOSU_DOWNLOAD_URL: ${GOSU_DOWNLOAD_URL}

View File

@ -1,2 +1,2 @@
deb https://packagecloud.io/github/git-lfs/debian/ bullseye main deb [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ bullseye main
deb-src https://packagecloud.io/github/git-lfs/debian/ bullseye main deb-src [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ bullseye main

View File

@ -1,3 +1,3 @@
# mainline # mainline
deb https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main deb [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main
deb-src https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main deb-src [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main

View File

@ -1,3 +1,3 @@
# stable # stable
deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main deb [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main
deb-src https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main deb-src [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main

View File

@ -0,0 +1,29 @@
##################################################################
# perforce client binary
##################################################################
P4_VERSION=r23.2
P4_DOWNLOAD_URL=https://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
##################################################################
# 7z official binary
##################################################################
SZ_VERSION=7z2400
SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
##################################################################
# LazyGit official binary
##################################################################
LZGIT_VERSION=0.40.2
LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz
##################################################################
# dumb init
##################################################################
DUMB_INIT_VERSION=1.2.5
DUMB_INIT_DOWNLOAD_URL=https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64
##################################################################
# gosu
##################################################################
GOSU_VER=1.17
GOSU_DOWNLOAD_URL=https://github.com/tianon/gosu/releases/download/${GOSU_VER}/gosu-amd64

View File

@ -21,6 +21,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w
# prepare system # prepare system
################################################################## ##################################################################
RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN mkdir -p /etc/apt/keyrings
################################################################## ##################################################################
# sources list # sources list
@ -28,15 +29,13 @@ RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN rm -rfv /etc/apt/sources.list RUN rm -rfv /etc/apt/sources.list
RUN rm -rfv /etc/locale.gen 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/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until
COPY etc/apt/apt.conf.d/98-allow-unauthenticated /etc/apt/apt.conf.d/98-allow-unauthenticated
COPY etc/apt/apt.conf.d/97-allow-cert-exp /etc/apt/apt.conf.d/97-allow-cert-exp
COPY etc/apt/apt.conf.d/96-apt-retries /etc/apt/apt.conf.d/96-apt-retries
COPY etc/apt/sources.list /etc/apt/sources.list COPY etc/apt/sources.list /etc/apt/sources.list
COPY etc/locale.gen /etc/locale.gen COPY etc/locale.gen /etc/locale.gen
RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6ED0E7B82643E131
RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | xargs -n1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
RUN apt-get update && \ RUN apt-get update && \
apt-get upgrade -y && \ apt-get upgrade -y && \
apt-get dist-upgrade -y apt-get dist-upgrade -y
@ -60,25 +59,26 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
software-properties-common \ software-properties-common \
sudo 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 RUN update-ca-certificates
################################################################## ##################################################################
# perforce client binary # ARGuments
################################################################## ##################################################################
ARG P4_VERSION=r23.2
ARG P4_DOWNLOAD_URL=http://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
################################################################## #configured by dockerfile / .ENV
# 7z official binary ARG P4_VERSION
################################################################## ARG P4_DOWNLOAD_URL
ARG SZ_VERSION=7z2400 ARG SZ_VERSION
ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz ARG SZ_DOWNLOAD_URL
ARG LZGIT_VERSION
################################################################## ARG LZGIT_DOWNLOAD_URL
# LazyGit official binary ARG DUMB_INIT_VERSION
################################################################## ARG DUMB_INIT_DOWNLOAD_URL
ARG LZGIT_VERSION=0.40.2 ARG GOSU_VER
ARG LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz ARG GOSU_DOWNLOAD_URL
################################################################## ##################################################################
# update lists # update lists
@ -210,41 +210,50 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
################################################################## ##################################################################
# git fresh binary # git fresh binary
################################################################## ##################################################################
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1715D88E1DF1F24 && \ RUN gpg --keyserver keyserver.ubuntu.com --recv-keys A1715D88E1DF1F24 && \
gpg --export --output /etc/apt/keyrings/launchpad-git.gpg A1715D88E1DF1F24 && \
rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \
rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list
COPY etc/apt/sources.list.d/launchpad_git-mainline.list /etc/apt/sources.list.d/launchpad_git-mainline.list COPY etc/apt/sources.list.d/launchpad_git-mainline.list /etc/apt/sources.list.d/launchpad_git-mainline.list
COPY etc/apt/sources.list.d/launchpad_git-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list COPY etc/apt/sources.list.d/launchpad_git-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
git && \ git
git --version
RUN echo "=============================================" && \
echo git $(git --version) && \
echo "============================================="
################################################################## ##################################################################
# git-lfs official binary # 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 curl -fsSL https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list 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 COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
git \ git \
git-lfs && \ git-lfs && \
git --version && \ git-lfs install --skip-repo
git-lfs install --skip-repo && \
git-lfs --version RUN echo "=============================================" && \
echo git $(git --version) && \
echo git-lfs $(git-lfs --version) && \
echo "============================================="
################################################################## ##################################################################
# gh official binary # 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 && \ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/githubcli-archive-keyring.gpg && \
chmod go+r /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \ chmod go+r /etc/apt/keyrings/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 && \ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/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 update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
gh && \ gh
gh --version
RUN echo "=============================================" && \
echo gh $(gh --version) && \
echo "============================================="
################################################################## ##################################################################
# Install p4client # Install p4client
@ -259,9 +268,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/7z && \ mkdir -p /tmp/7z && \
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \ tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
chmod +x /tmp/7z/7zz && \ chmod +x /tmp/7z/7zz && \
mv -fv /tmp/7z/7zz /usr/bin/ && \ mv -fv /tmp/7z/7zz /usr/bin/
7zz | head -4 && \
7z | head -4 RUN echo "=============================================" && \
echo 7zz $(7zz | head -4) && \
echo 7z $(7z | head -4) && \
echo "============================================="
################################################################## ##################################################################
# Install LazyGit official binary # Install LazyGit official binary
@ -270,14 +282,46 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/lazygit && \ mkdir -p /tmp/lazygit && \
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \ tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
chmod +x /tmp/lazygit/lazygit && \ chmod +x /tmp/lazygit/lazygit && \
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \ mv -fv /tmp/lazygit/lazygit /usr/bin/
echo "lazygit version:" && \
lazygit --version RUN echo "=============================================" && \
echo lazygit $(lazygit --version) && \
echo "============================================="
##################################################################
# dumb init
##################################################################
RUN wget -q --no-check-certificate -c ${DUMB_INIT_DOWNLOAD_URL} --random-wait -O /usr/bin/dumb-init && \
chmod +x /usr/bin/dumb-init
RUN echo "=============================================" && \
echo dumb-init $(dumb-init --version) && \
echo "============================================="
##################################################################
# gosu for easy step-down from root
##################################################################
RUN wget -q --no-check-certificate -c ${GOSU_DOWNLOAD_URL} --random-wait -O /usr/local/bin/gosu && \
chmod +x /usr/local/bin/gosu
RUN echo "=============================================" && \
echo gosu $(gosu --version) && \
echo "============================================="
##################################################################
# Version
##################################################################
RUN echo "=============================================" && \
echo python3 $(python3 --version) && \
echo pip3 $(pip3 --version) && \
echo python $(python --version) && \
echo pip $(pip --version) && \
echo "============================================="
################################################################## ##################################################################
# Generate ssl key # Generate ssl key
################################################################## ##################################################################
#RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096 RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
################################################################## ##################################################################
# update locales # update locales

View File

@ -4,3 +4,14 @@ services:
image: "epicmorg/python:3.13" image: "epicmorg/python:3.13"
build: build:
context: . context: .
args:
P4_VERSION: ${P4_VERSION}
P4_DOWNLOAD_URL: ${P4_DOWNLOAD_URL}
SZ_VERSION: ${SZ_VERSION}
SZ_DOWNLOAD_URL: ${SZ_DOWNLOAD_URL}
LZGIT_VERSION: ${LZGIT_VERSION}
LZGIT_DOWNLOAD_URL: ${LZGIT_DOWNLOAD_URL}
DUMB_INIT_VERSION: ${DUMB_INIT_VERSION}
DUMB_INIT_DOWNLOAD_URL: ${DUMB_INIT_DOWNLOAD_URL}
GOSU_VER: ${GOSU_VER}
GOSU_DOWNLOAD_URL: ${GOSU_DOWNLOAD_URL}

View File

@ -0,0 +1 @@
Acquire::Retries "9";

View File

@ -0,0 +1,2 @@
Acquire::https::Verify-Peer "false";
Acquire::https::Verify-Host "false";

View File

@ -0,0 +1 @@
APT::Get::AllowUnauthenticated "true";

View File

@ -1,2 +1,2 @@
deb https://packagecloud.io/github/git-lfs/debian/ bullseye main deb [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ bullseye main
deb-src https://packagecloud.io/github/git-lfs/debian/ bullseye main deb-src [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ bullseye main

View File

@ -1,3 +1,3 @@
# mainline # mainline
deb https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main deb [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main
deb-src https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main deb-src [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main

View File

@ -1,3 +1,3 @@
# stable # stable
deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main deb [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main
deb-src https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main deb-src [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main

View File

@ -0,0 +1,29 @@
##################################################################
# perforce client binary
##################################################################
P4_VERSION=r23.2
P4_DOWNLOAD_URL=https://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
##################################################################
# 7z official binary
##################################################################
SZ_VERSION=7z2400
SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
##################################################################
# LazyGit official binary
##################################################################
LZGIT_VERSION=0.40.2
LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz
##################################################################
# dumb init
##################################################################
DUMB_INIT_VERSION=1.2.5
DUMB_INIT_DOWNLOAD_URL=https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64
##################################################################
# gosu
##################################################################
GOSU_VER=1.17
GOSU_DOWNLOAD_URL=https://github.com/tianon/gosu/releases/download/${GOSU_VER}/gosu-amd64

View File

@ -21,6 +21,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w
# prepare system # prepare system
################################################################## ##################################################################
RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN mkdir -p /etc/apt/keyrings
################################################################## ##################################################################
# sources list # sources list
@ -28,8 +29,10 @@ RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN rm -rfv /etc/apt/sources.list RUN rm -rfv /etc/apt/sources.list
RUN rm -rfv /etc/locale.gen 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/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until
COPY etc/apt/apt.conf.d/98-allow-unauthenticated /etc/apt/apt.conf.d/98-allow-unauthenticated
COPY etc/apt/apt.conf.d/97-allow-cert-exp /etc/apt/apt.conf.d/97-allow-cert-exp
COPY etc/apt/apt.conf.d/96-apt-retries /etc/apt/apt.conf.d/96-apt-retries
COPY etc/apt/sources.list /etc/apt/sources.list COPY etc/apt/sources.list /etc/apt/sources.list
COPY etc/locale.gen /etc/locale.gen COPY etc/locale.gen /etc/locale.gen
@ -62,22 +65,20 @@ RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | x
RUN update-ca-certificates RUN update-ca-certificates
################################################################## ##################################################################
# perforce client binary # ARGuments
################################################################## ##################################################################
ARG P4_VERSION=r23.2
ARG P4_DOWNLOAD_URL=http://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
################################################################## #configured by dockerfile / .ENV
# 7z official binary ARG P4_VERSION
################################################################## ARG P4_DOWNLOAD_URL
ARG SZ_VERSION=7z2400 ARG SZ_VERSION
ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz ARG SZ_DOWNLOAD_URL
ARG LZGIT_VERSION
################################################################## ARG LZGIT_DOWNLOAD_URL
# LazyGit official binary ARG DUMB_INIT_VERSION
################################################################## ARG DUMB_INIT_DOWNLOAD_URL
ARG LZGIT_VERSION=0.40.2 ARG GOSU_VER
ARG LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz ARG GOSU_DOWNLOAD_URL
################################################################## ##################################################################
# update lists # update lists
@ -208,41 +209,50 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
################################################################## ##################################################################
# git fresh binary # git fresh binary
################################################################## ##################################################################
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1715D88E1DF1F24 && \ RUN gpg --keyserver keyserver.ubuntu.com --recv-keys A1715D88E1DF1F24 && \
gpg --export --output /etc/apt/keyrings/launchpad-git.gpg A1715D88E1DF1F24 && \
rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \
rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list
COPY etc/apt/sources.list.d/launchpad_git-mainline.list /etc/apt/sources.list.d/launchpad_git-mainline.list COPY etc/apt/sources.list.d/launchpad_git-mainline.list /etc/apt/sources.list.d/launchpad_git-mainline.list
COPY etc/apt/sources.list.d/launchpad_git-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list COPY etc/apt/sources.list.d/launchpad_git-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
git && \ git
git --version
RUN echo "=============================================" && \
echo git $(git --version) && \
echo "============================================="
################################################################## ##################################################################
# git-lfs official binary # 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 curl -fsSL https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list 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 COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
git \ git \
git-lfs && \ git-lfs && \
git --version && \ git-lfs install --skip-repo
git-lfs install --skip-repo && \
git-lfs --version RUN echo "=============================================" && \
echo git $(git --version) && \
echo git-lfs $(git-lfs --version) && \
echo "============================================="
################################################################## ##################################################################
# gh official binary # 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 && \ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/githubcli-archive-keyring.gpg && \
chmod go+r /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \ chmod go+r /etc/apt/keyrings/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 && \ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/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 update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
gh && \ gh
gh --version
RUN echo "=============================================" && \
echo gh $(gh --version) && \
echo "============================================="
################################################################## ##################################################################
# Install p4client # Install p4client
@ -257,9 +267,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/7z && \ mkdir -p /tmp/7z && \
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \ tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
chmod +x /tmp/7z/7zz && \ chmod +x /tmp/7z/7zz && \
mv -fv /tmp/7z/7zz /usr/bin/ && \ mv -fv /tmp/7z/7zz /usr/bin/
7zz | head -4 && \
7z | head -4 RUN echo "=============================================" && \
echo 7zz $(7zz | head -4) && \
echo 7z $(7z | head -4) && \
echo "============================================="
################################################################## ##################################################################
# Install LazyGit official binary # Install LazyGit official binary
@ -268,14 +281,46 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/lazygit && \ mkdir -p /tmp/lazygit && \
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \ tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
chmod +x /tmp/lazygit/lazygit && \ chmod +x /tmp/lazygit/lazygit && \
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \ mv -fv /tmp/lazygit/lazygit /usr/bin/
echo "lazygit version:" && \
lazygit --version RUN echo "=============================================" && \
echo lazygit $(lazygit --version) && \
echo "============================================="
##################################################################
# dumb init
##################################################################
RUN wget -q --no-check-certificate -c ${DUMB_INIT_DOWNLOAD_URL} --random-wait -O /usr/bin/dumb-init && \
chmod +x /usr/bin/dumb-init
RUN echo "=============================================" && \
echo dumb-init $(dumb-init --version) && \
echo "============================================="
##################################################################
# gosu for easy step-down from root
##################################################################
RUN wget -q --no-check-certificate -c ${GOSU_DOWNLOAD_URL} --random-wait -O /usr/local/bin/gosu && \
chmod +x /usr/local/bin/gosu
RUN echo "=============================================" && \
echo gosu $(gosu --version) && \
echo "============================================="
##################################################################
# Version
##################################################################
RUN echo "=============================================" && \
echo python3 $(python3 --version) && \
echo pip3 $(pip3 --version) && \
echo python $(python --version) && \
echo pip $(pip --version) && \
echo "============================================="
################################################################## ##################################################################
# Generate ssl key # Generate ssl key
################################################################## ##################################################################
#RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096 RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
################################################################## ##################################################################
# update locales # update locales

View File

@ -4,3 +4,14 @@ services:
image: "epicmorg/python:3.6" image: "epicmorg/python:3.6"
build: build:
context: . context: .
args:
P4_VERSION: ${P4_VERSION}
P4_DOWNLOAD_URL: ${P4_DOWNLOAD_URL}
SZ_VERSION: ${SZ_VERSION}
SZ_DOWNLOAD_URL: ${SZ_DOWNLOAD_URL}
LZGIT_VERSION: ${LZGIT_VERSION}
LZGIT_DOWNLOAD_URL: ${LZGIT_DOWNLOAD_URL}
DUMB_INIT_VERSION: ${DUMB_INIT_VERSION}
DUMB_INIT_DOWNLOAD_URL: ${DUMB_INIT_DOWNLOAD_URL}
GOSU_VER: ${GOSU_VER}
GOSU_DOWNLOAD_URL: ${GOSU_DOWNLOAD_URL}

View File

@ -0,0 +1 @@
Acquire::Retries "9";

View File

@ -0,0 +1,2 @@
Acquire::https::Verify-Peer "false";
Acquire::https::Verify-Host "false";

View File

@ -0,0 +1 @@
APT::Get::AllowUnauthenticated "true";

View File

@ -1,2 +1,2 @@
deb https://packagecloud.io/github/git-lfs/debian/ bullseye main deb [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ bullseye main
deb-src https://packagecloud.io/github/git-lfs/debian/ bullseye main deb-src [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ bullseye main

View File

@ -1,3 +1,3 @@
# mainline # mainline
deb https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main deb [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main
deb-src https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main deb-src [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main

View File

@ -1,3 +1,3 @@
# stable # stable
deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main deb [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main
deb-src https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main deb-src [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main

View File

@ -0,0 +1,29 @@
##################################################################
# perforce client binary
##################################################################
P4_VERSION=r23.2
P4_DOWNLOAD_URL=https://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
##################################################################
# 7z official binary
##################################################################
SZ_VERSION=7z2400
SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
##################################################################
# LazyGit official binary
##################################################################
LZGIT_VERSION=0.40.2
LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz
##################################################################
# dumb init
##################################################################
DUMB_INIT_VERSION=1.2.5
DUMB_INIT_DOWNLOAD_URL=https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64
##################################################################
# gosu
##################################################################
GOSU_VER=1.17
GOSU_DOWNLOAD_URL=https://github.com/tianon/gosu/releases/download/${GOSU_VER}/gosu-amd64

View File

@ -21,6 +21,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w
# prepare system # prepare system
################################################################## ##################################################################
RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN mkdir -p /etc/apt/keyrings
################################################################## ##################################################################
# sources list # sources list
@ -28,8 +29,10 @@ RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN rm -rfv /etc/apt/sources.list RUN rm -rfv /etc/apt/sources.list
RUN rm -rfv /etc/locale.gen 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/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until
COPY etc/apt/apt.conf.d/98-allow-unauthenticated /etc/apt/apt.conf.d/98-allow-unauthenticated
COPY etc/apt/apt.conf.d/97-allow-cert-exp /etc/apt/apt.conf.d/97-allow-cert-exp
COPY etc/apt/apt.conf.d/96-apt-retries /etc/apt/apt.conf.d/96-apt-retries
COPY etc/apt/sources.list /etc/apt/sources.list COPY etc/apt/sources.list /etc/apt/sources.list
COPY etc/locale.gen /etc/locale.gen COPY etc/locale.gen /etc/locale.gen
@ -62,22 +65,20 @@ RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | x
RUN update-ca-certificates RUN update-ca-certificates
################################################################## ##################################################################
# perforce client binary # ARGuments
################################################################## ##################################################################
ARG P4_VERSION=r23.2
ARG P4_DOWNLOAD_URL=http://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
################################################################## #configured by dockerfile / .ENV
# 7z official binary ARG P4_VERSION
################################################################## ARG P4_DOWNLOAD_URL
ARG SZ_VERSION=7z2400 ARG SZ_VERSION
ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz ARG SZ_DOWNLOAD_URL
ARG LZGIT_VERSION
################################################################## ARG LZGIT_DOWNLOAD_URL
# LazyGit official binary ARG DUMB_INIT_VERSION
################################################################## ARG DUMB_INIT_DOWNLOAD_URL
ARG LZGIT_VERSION=0.40.2 ARG GOSU_VER
ARG LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz ARG GOSU_DOWNLOAD_URL
################################################################## ##################################################################
# update lists # update lists
@ -209,41 +210,50 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
################################################################## ##################################################################
# git fresh binary # git fresh binary
################################################################## ##################################################################
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1715D88E1DF1F24 && \ RUN gpg --keyserver keyserver.ubuntu.com --recv-keys A1715D88E1DF1F24 && \
gpg --export --output /etc/apt/keyrings/launchpad-git.gpg A1715D88E1DF1F24 && \
rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \
rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list
COPY etc/apt/sources.list.d/launchpad_git-mainline.list /etc/apt/sources.list.d/launchpad_git-mainline.list COPY etc/apt/sources.list.d/launchpad_git-mainline.list /etc/apt/sources.list.d/launchpad_git-mainline.list
COPY etc/apt/sources.list.d/launchpad_git-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list COPY etc/apt/sources.list.d/launchpad_git-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
git && \ git
git --version
RUN echo "=============================================" && \
echo git $(git --version) && \
echo "============================================="
################################################################## ##################################################################
# git-lfs official binary # 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 curl -fsSL https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list 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 COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
git \ git \
git-lfs && \ git-lfs && \
git --version && \ git-lfs install --skip-repo
git-lfs install --skip-repo && \
git-lfs --version RUN echo "=============================================" && \
echo git $(git --version) && \
echo git-lfs $(git-lfs --version) && \
echo "============================================="
################################################################## ##################################################################
# gh official binary # 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 && \ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/githubcli-archive-keyring.gpg && \
chmod go+r /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \ chmod go+r /etc/apt/keyrings/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 && \ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/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 update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
gh && \ gh
gh --version
RUN echo "=============================================" && \
echo gh $(gh --version) && \
echo "============================================="
################################################################## ##################################################################
# Install p4client # Install p4client
@ -258,9 +268,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/7z && \ mkdir -p /tmp/7z && \
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \ tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
chmod +x /tmp/7z/7zz && \ chmod +x /tmp/7z/7zz && \
mv -fv /tmp/7z/7zz /usr/bin/ && \ mv -fv /tmp/7z/7zz /usr/bin/
7zz | head -4 && \
7z | head -4 RUN echo "=============================================" && \
echo 7zz $(7zz | head -4) && \
echo 7z $(7z | head -4) && \
echo "============================================="
################################################################## ##################################################################
# Install LazyGit official binary # Install LazyGit official binary
@ -269,14 +282,46 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/lazygit && \ mkdir -p /tmp/lazygit && \
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \ tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
chmod +x /tmp/lazygit/lazygit && \ chmod +x /tmp/lazygit/lazygit && \
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \ mv -fv /tmp/lazygit/lazygit /usr/bin/
echo "lazygit version:" && \
lazygit --version RUN echo "=============================================" && \
echo lazygit $(lazygit --version) && \
echo "============================================="
##################################################################
# dumb init
##################################################################
RUN wget -q --no-check-certificate -c ${DUMB_INIT_DOWNLOAD_URL} --random-wait -O /usr/bin/dumb-init && \
chmod +x /usr/bin/dumb-init
RUN echo "=============================================" && \
echo dumb-init $(dumb-init --version) && \
echo "============================================="
##################################################################
# gosu for easy step-down from root
##################################################################
RUN wget -q --no-check-certificate -c ${GOSU_DOWNLOAD_URL} --random-wait -O /usr/local/bin/gosu && \
chmod +x /usr/local/bin/gosu
RUN echo "=============================================" && \
echo gosu $(gosu --version) && \
echo "============================================="
##################################################################
# Version
##################################################################
RUN echo "=============================================" && \
echo python3 $(python3 --version) && \
echo pip3 $(pip3 --version) && \
echo python $(python --version) && \
echo pip $(pip --version) && \
echo "============================================="
################################################################## ##################################################################
# Generate ssl key # Generate ssl key
################################################################## ##################################################################
#RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096 RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
################################################################## ##################################################################
# update locales # update locales

View File

@ -4,3 +4,14 @@ services:
image: "epicmorg/python:3.7" image: "epicmorg/python:3.7"
build: build:
context: . context: .
args:
P4_VERSION: ${P4_VERSION}
P4_DOWNLOAD_URL: ${P4_DOWNLOAD_URL}
SZ_VERSION: ${SZ_VERSION}
SZ_DOWNLOAD_URL: ${SZ_DOWNLOAD_URL}
LZGIT_VERSION: ${LZGIT_VERSION}
LZGIT_DOWNLOAD_URL: ${LZGIT_DOWNLOAD_URL}
DUMB_INIT_VERSION: ${DUMB_INIT_VERSION}
DUMB_INIT_DOWNLOAD_URL: ${DUMB_INIT_DOWNLOAD_URL}
GOSU_VER: ${GOSU_VER}
GOSU_DOWNLOAD_URL: ${GOSU_DOWNLOAD_URL}

View File

@ -0,0 +1 @@
Acquire::Retries "9";

View File

@ -0,0 +1,2 @@
Acquire::https::Verify-Peer "false";
Acquire::https::Verify-Host "false";

View File

@ -0,0 +1 @@
APT::Get::AllowUnauthenticated "true";

View File

@ -1,2 +1,2 @@
deb https://packagecloud.io/github/git-lfs/debian/ bullseye main deb [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ bullseye main
deb-src https://packagecloud.io/github/git-lfs/debian/ bullseye main deb-src [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ bullseye main

View File

@ -1,3 +1,3 @@
# mainline # mainline
deb https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main deb [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main
deb-src https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main deb-src [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main

View File

@ -1,3 +1,3 @@
# stable # stable
deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main deb [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main
deb-src https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main deb-src [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main

View File

@ -0,0 +1,29 @@
##################################################################
# perforce client binary
##################################################################
P4_VERSION=r23.2
P4_DOWNLOAD_URL=https://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
##################################################################
# 7z official binary
##################################################################
SZ_VERSION=7z2400
SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
##################################################################
# LazyGit official binary
##################################################################
LZGIT_VERSION=0.40.2
LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz
##################################################################
# dumb init
##################################################################
DUMB_INIT_VERSION=1.2.5
DUMB_INIT_DOWNLOAD_URL=https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64
##################################################################
# gosu
##################################################################
GOSU_VER=1.17
GOSU_DOWNLOAD_URL=https://github.com/tianon/gosu/releases/download/${GOSU_VER}/gosu-amd64

View File

@ -209,41 +209,50 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
################################################################## ##################################################################
# git fresh binary # git fresh binary
################################################################## ##################################################################
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1715D88E1DF1F24 && \ RUN gpg --keyserver keyserver.ubuntu.com --recv-keys A1715D88E1DF1F24 && \
gpg --export --output /etc/apt/keyrings/launchpad-git.gpg A1715D88E1DF1F24 && \
rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \
rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list
COPY etc/apt/sources.list.d/launchpad_git-mainline.list /etc/apt/sources.list.d/launchpad_git-mainline.list COPY etc/apt/sources.list.d/launchpad_git-mainline.list /etc/apt/sources.list.d/launchpad_git-mainline.list
COPY etc/apt/sources.list.d/launchpad_git-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list COPY etc/apt/sources.list.d/launchpad_git-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
git && \ git
git --version
RUN echo "=============================================" && \
echo git $(git --version) && \
echo "============================================="
################################################################## ##################################################################
# git-lfs official binary # 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 curl -fsSL https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list 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 COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
git \ git \
git-lfs && \ git-lfs && \
git --version && \ git-lfs install --skip-repo
git-lfs install --skip-repo && \
git-lfs --version RUN echo "=============================================" && \
echo git $(git --version) && \
echo git-lfs $(git-lfs --version) && \
echo "============================================="
################################################################## ##################################################################
# gh official binary # 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 && \ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/githubcli-archive-keyring.gpg && \
chmod go+r /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \ chmod go+r /etc/apt/keyrings/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 && \ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/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 update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
gh && \ gh
gh --version
RUN echo "=============================================" && \
echo gh $(gh --version) && \
echo "============================================="
################################################################## ##################################################################
# Install p4client # Install p4client
@ -258,9 +267,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/7z && \ mkdir -p /tmp/7z && \
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \ tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
chmod +x /tmp/7z/7zz && \ chmod +x /tmp/7z/7zz && \
mv -fv /tmp/7z/7zz /usr/bin/ && \ mv -fv /tmp/7z/7zz /usr/bin/
7zz | head -4 && \
7z | head -4 RUN echo "=============================================" && \
echo 7zz $(7zz | head -4) && \
echo 7z $(7z | head -4) && \
echo "============================================="
################################################################## ##################################################################
# Install LazyGit official binary # Install LazyGit official binary
@ -269,14 +281,46 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/lazygit && \ mkdir -p /tmp/lazygit && \
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \ tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
chmod +x /tmp/lazygit/lazygit && \ chmod +x /tmp/lazygit/lazygit && \
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \ mv -fv /tmp/lazygit/lazygit /usr/bin/
echo "lazygit version:" && \
lazygit --version RUN echo "=============================================" && \
echo lazygit $(lazygit --version) && \
echo "============================================="
##################################################################
# dumb init
##################################################################
RUN wget -q --no-check-certificate -c ${DUMB_INIT_DOWNLOAD_URL} --random-wait -O /usr/bin/dumb-init && \
chmod +x /usr/bin/dumb-init
RUN echo "=============================================" && \
echo dumb-init $(dumb-init --version) && \
echo "============================================="
##################################################################
# gosu for easy step-down from root
##################################################################
RUN wget -q --no-check-certificate -c ${GOSU_DOWNLOAD_URL} --random-wait -O /usr/local/bin/gosu && \
chmod +x /usr/local/bin/gosu
RUN echo "=============================================" && \
echo gosu $(gosu --version) && \
echo "============================================="
##################################################################
# Version
##################################################################
RUN echo "=============================================" && \
echo python3 $(python3 --version) && \
echo pip3 $(pip3 --version) && \
echo python $(python --version) && \
echo pip $(pip --version) && \
echo "============================================="
################################################################## ##################################################################
# Generate ssl key # Generate ssl key
################################################################## ##################################################################
#RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096 RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
################################################################## ##################################################################
# update locales # update locales

View File

@ -4,3 +4,14 @@ services:
image: "epicmorg/python:3.8" image: "epicmorg/python:3.8"
build: build:
context: . context: .
args:
P4_VERSION: ${P4_VERSION}
P4_DOWNLOAD_URL: ${P4_DOWNLOAD_URL}
SZ_VERSION: ${SZ_VERSION}
SZ_DOWNLOAD_URL: ${SZ_DOWNLOAD_URL}
LZGIT_VERSION: ${LZGIT_VERSION}
LZGIT_DOWNLOAD_URL: ${LZGIT_DOWNLOAD_URL}
DUMB_INIT_VERSION: ${DUMB_INIT_VERSION}
DUMB_INIT_DOWNLOAD_URL: ${DUMB_INIT_DOWNLOAD_URL}
GOSU_VER: ${GOSU_VER}
GOSU_DOWNLOAD_URL: ${GOSU_DOWNLOAD_URL}

View File

@ -0,0 +1 @@
Acquire::Retries "9";

View File

@ -0,0 +1,2 @@
Acquire::https::Verify-Peer "false";
Acquire::https::Verify-Host "false";

View File

@ -0,0 +1 @@
APT::Get::AllowUnauthenticated "true";

View File

@ -1,2 +1,2 @@
deb https://packagecloud.io/github/git-lfs/debian/ bullseye main deb [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ bullseye main
deb-src https://packagecloud.io/github/git-lfs/debian/ bullseye main deb-src [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ bullseye main

View File

@ -1,3 +1,3 @@
# mainline # mainline
deb https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main deb [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main
deb-src https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main deb-src [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main

View File

@ -1,3 +1,3 @@
# stable # stable
deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main deb [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main
deb-src https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main deb-src [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main

View File

@ -0,0 +1,29 @@
##################################################################
# perforce client binary
##################################################################
P4_VERSION=r23.2
P4_DOWNLOAD_URL=https://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
##################################################################
# 7z official binary
##################################################################
SZ_VERSION=7z2400
SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
##################################################################
# LazyGit official binary
##################################################################
LZGIT_VERSION=0.40.2
LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz
##################################################################
# dumb init
##################################################################
DUMB_INIT_VERSION=1.2.5
DUMB_INIT_DOWNLOAD_URL=https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64
##################################################################
# gosu
##################################################################
GOSU_VER=1.17
GOSU_DOWNLOAD_URL=https://github.com/tianon/gosu/releases/download/${GOSU_VER}/gosu-amd64

View File

@ -21,6 +21,7 @@ LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4w
# prepare system # prepare system
################################################################## ##################################################################
RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN mkdir -p /etc/apt/keyrings
################################################################## ##################################################################
# sources list # sources list
@ -28,8 +29,10 @@ RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN rm -rfv /etc/apt/sources.list RUN rm -rfv /etc/apt/sources.list
RUN rm -rfv /etc/locale.gen 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/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until
COPY etc/apt/apt.conf.d/98-allow-unauthenticated /etc/apt/apt.conf.d/98-allow-unauthenticated
COPY etc/apt/apt.conf.d/97-allow-cert-exp /etc/apt/apt.conf.d/97-allow-cert-exp
COPY etc/apt/apt.conf.d/96-apt-retries /etc/apt/apt.conf.d/96-apt-retries
COPY etc/apt/sources.list /etc/apt/sources.list COPY etc/apt/sources.list /etc/apt/sources.list
COPY etc/locale.gen /etc/locale.gen COPY etc/locale.gen /etc/locale.gen
@ -62,22 +65,21 @@ RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | x
RUN update-ca-certificates RUN update-ca-certificates
################################################################## ##################################################################
# perforce client binary # ARGuments
################################################################## ##################################################################
ARG P4_VERSION=r23.2
ARG P4_DOWNLOAD_URL=http://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
################################################################## #configured by dockerfile / .ENV
# 7z official binary ARG P4_VERSION
################################################################## ARG P4_DOWNLOAD_URL
ARG SZ_VERSION=7z2400 ARG SZ_VERSION
ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz ARG SZ_DOWNLOAD_URL
ARG LZGIT_VERSION
ARG LZGIT_DOWNLOAD_URL
ARG DUMB_INIT_VERSION
ARG DUMB_INIT_DOWNLOAD_URL
ARG GOSU_VER
ARG GOSU_DOWNLOAD_URL
##################################################################
# LazyGit official binary
##################################################################
ARG LZGIT_VERSION=0.40.2
ARG LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz
################################################################## ##################################################################
# update lists # update lists
@ -181,7 +183,6 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
xz-utils \ xz-utils \
zip zip
################################################################## ##################################################################
# installing fs-tools # installing fs-tools
################################################################## ##################################################################
@ -210,41 +211,50 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
################################################################## ##################################################################
# git fresh binary # git fresh binary
################################################################## ##################################################################
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1715D88E1DF1F24 && \ RUN gpg --keyserver keyserver.ubuntu.com --recv-keys A1715D88E1DF1F24 && \
gpg --export --output /etc/apt/keyrings/launchpad-git.gpg A1715D88E1DF1F24 && \
rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \ rm -rfv /etc/apt/sources.list.d/launchpad_git-mainline.list && \
rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list rm -rfv /etc/apt/sources.list.d/launchpad_git-stable.list
COPY etc/apt/sources.list.d/launchpad_git-mainline.list /etc/apt/sources.list.d/launchpad_git-mainline.list COPY etc/apt/sources.list.d/launchpad_git-mainline.list /etc/apt/sources.list.d/launchpad_git-mainline.list
COPY etc/apt/sources.list.d/launchpad_git-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list COPY etc/apt/sources.list.d/launchpad_git-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
git && \ git
git --version
RUN echo "=============================================" && \
echo git $(git --version) && \
echo "============================================="
################################################################## ##################################################################
# git-lfs official binary # 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 curl -fsSL https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list 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 COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
git \ git \
git-lfs && \ git-lfs && \
git --version && \ git-lfs install --skip-repo
git-lfs install --skip-repo && \
git-lfs --version RUN echo "=============================================" && \
echo git $(git --version) && \
echo git-lfs $(git-lfs --version) && \
echo "============================================="
################################################################## ##################################################################
# gh official binary # 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 && \ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/githubcli-archive-keyring.gpg && \
chmod go+r /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \ chmod go+r /etc/apt/keyrings/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 && \ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/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 update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
gh && \ gh
gh --version
RUN echo "=============================================" && \
echo gh $(gh --version) && \
echo "============================================="
################################################################## ##################################################################
# Install p4client # Install p4client
@ -259,9 +269,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/7z && \ mkdir -p /tmp/7z && \
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \ tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
chmod +x /tmp/7z/7zz && \ chmod +x /tmp/7z/7zz && \
mv -fv /tmp/7z/7zz /usr/bin/ && \ mv -fv /tmp/7z/7zz /usr/bin/
7zz | head -4 && \
7z | head -4 RUN echo "=============================================" && \
echo 7zz $(7zz | head -4) && \
echo 7z $(7z | head -4) && \
echo "============================================="
################################################################## ##################################################################
# Install LazyGit official binary # Install LazyGit official binary
@ -270,14 +283,46 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/lazygit && \ mkdir -p /tmp/lazygit && \
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \ tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
chmod +x /tmp/lazygit/lazygit && \ chmod +x /tmp/lazygit/lazygit && \
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \ mv -fv /tmp/lazygit/lazygit /usr/bin/
echo "lazygit version:" && \
lazygit --version RUN echo "=============================================" && \
echo lazygit $(lazygit --version) && \
echo "============================================="
##################################################################
# dumb init
##################################################################
RUN wget -q --no-check-certificate -c ${DUMB_INIT_DOWNLOAD_URL} --random-wait -O /usr/bin/dumb-init && \
chmod +x /usr/bin/dumb-init
RUN echo "=============================================" && \
echo dumb-init $(dumb-init --version) && \
echo "============================================="
##################################################################
# gosu for easy step-down from root
##################################################################
RUN wget -q --no-check-certificate -c ${GOSU_DOWNLOAD_URL} --random-wait -O /usr/local/bin/gosu && \
chmod +x /usr/local/bin/gosu
RUN echo "=============================================" && \
echo gosu $(gosu --version) && \
echo "============================================="
##################################################################
# Version
##################################################################
RUN echo "=============================================" && \
echo python3 $(python3 --version) && \
echo pip3 $(pip3 --version) && \
echo python $(python --version) && \
echo pip $(pip --version) && \
echo "============================================="
################################################################## ##################################################################
# Generate ssl key # Generate ssl key
################################################################## ##################################################################
#RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096 RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
################################################################## ##################################################################
# update locales # update locales

View File

@ -4,3 +4,14 @@ services:
image: "epicmorg/python:3.9" image: "epicmorg/python:3.9"
build: build:
context: . context: .
args:
P4_VERSION: ${P4_VERSION}
P4_DOWNLOAD_URL: ${P4_DOWNLOAD_URL}
SZ_VERSION: ${SZ_VERSION}
SZ_DOWNLOAD_URL: ${SZ_DOWNLOAD_URL}
LZGIT_VERSION: ${LZGIT_VERSION}
LZGIT_DOWNLOAD_URL: ${LZGIT_DOWNLOAD_URL}
DUMB_INIT_VERSION: ${DUMB_INIT_VERSION}
DUMB_INIT_DOWNLOAD_URL: ${DUMB_INIT_DOWNLOAD_URL}
GOSU_VER: ${GOSU_VER}
GOSU_DOWNLOAD_URL: ${GOSU_DOWNLOAD_URL}

View File

@ -0,0 +1 @@
Acquire::Retries "9";

View File

@ -0,0 +1,2 @@
Acquire::https::Verify-Peer "false";
Acquire::https::Verify-Host "false";

View File

@ -0,0 +1 @@
APT::Get::AllowUnauthenticated "true";

View File

@ -1,2 +1,2 @@
deb https://packagecloud.io/github/git-lfs/debian/ bullseye main deb [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ bullseye main
deb-src https://packagecloud.io/github/git-lfs/debian/ bullseye main deb-src [signed-by=/etc/apt/keyrings/github_git-lfs-archive-keyring.gpg] https://packagecloud.io/github/git-lfs/debian/ bullseye main

View File

@ -1,3 +1,3 @@
# mainline # mainline
deb https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main deb [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main
deb-src https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main deb-src [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main

View File

@ -1,3 +1,3 @@
# stable # stable
deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main deb [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main
deb-src https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main deb-src [signed-by=/etc/apt/keyrings/launchpad-git.gpg] https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main

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