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

@ -31,7 +31,10 @@ jobs:
- name: Build and Deploy freegpt-webui 1.2
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
run: cd linux/ecosystem/freegpt-webui/1.3 && make build && make deploy
@ -40,7 +43,10 @@ jobs:
- name: Build and Deploy freegpt-webui 1.3.2
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
run: cd linux/ecosystem/freegpt-webui/1.4 && make build && make deploy

View File

@ -35,6 +35,9 @@ jobs:
- name: "Build and Deploy Advanced Nextcloud 18 Stock Images:"
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:"
run: cd linux/advanced/nextcloud/pure/19 && pwd && make build && make deploy
@ -47,6 +50,9 @@ jobs:
- name: "Build and Deploy Advanced Nextcloud 22 Stock Images:"
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:"
run: cd linux/advanced/nextcloud/pure/23 && pwd && make build && make deploy
@ -68,6 +74,9 @@ jobs:
- name: "Build and Deploy Advanced Nextcloud Latest Stock Images:"
run: cd linux/advanced/nextcloud/pure/latest && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
##################################################################################
@ -100,6 +109,9 @@ jobs:
- name: "Build and Deploy Advanced Nextcloud 19 Patched Images:"
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:"
run: cd linux/advanced/nextcloud/patched/20 && pwd && make build && make deploy
@ -115,6 +127,9 @@ jobs:
- name: "Build and Deploy Advanced Nextcloud 24 Patched Images:"
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:"
run: cd linux/advanced/nextcloud/patched/25 && pwd && make build && make deploy

View File

@ -26,18 +26,27 @@ jobs:
- name: "Build and Deploy Python 3.6 Main Image:"
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:"
run: cd linux/advanced/python/main/3.7 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.8 Main Image:"
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:"
run: cd linux/advanced/python/main/3.9 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.10 Main Image:"
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:"
run: cd linux/advanced/python/main/3.11 && pwd && make build && make deploy
@ -47,6 +56,9 @@ jobs:
- name: "Build and Deploy Python 3.13 Main Image:"
run: cd linux/advanced/python/main/3.13 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
##################################################################################
@ -68,24 +80,38 @@ jobs:
- name: "Build and Deploy Python 3.6 Develop Image:"
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:"
run: cd linux/advanced/python/develop/3.7 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.8 Develop Image:"
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:"
run: cd linux/advanced/python/develop/3.9 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.10 Develop Image:"
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:"
run: cd linux/advanced/python/develop/3.11 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.12 Develop Image:"
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:"
run: cd linux/advanced/python/develop/3.13 && pwd && make build && make deploy

View File

@ -34,6 +34,9 @@ jobs:
- name: "Build and Deploy Advanced Vscode Server Android Images:"
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:"
run: cd linux/advanced/vscode-server/cpp && pwd && make build && make deploy
@ -43,6 +46,9 @@ jobs:
- name: "Build and Deploy Advanced Vscode Server Docker Images:"
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:"
run: cd linux/advanced/vscode-server/dotnet && pwd && make build && make deploy

View File

@ -53,6 +53,9 @@ jobs:
- name: "Build and Deploy Gitlab Runner Atlassian SDK Image:"
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:"
run: cd linux/ecosystem/gitlab/runner/dotnet-sdk && pwd && make build && make deploy
@ -68,6 +71,9 @@ jobs:
- name: "Build and Deploy Gitlab Runner node15 Image:"
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:"
run: cd linux/ecosystem/gitlab/runner/node16 && pwd && make build && make deploy
@ -83,6 +89,9 @@ jobs:
- name: "Build and Deploy Gitlab Runner node20 Image:"
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:"
run: cd linux/ecosystem/gitlab/runner/php7.2 && pwd && make build && make deploy
@ -92,6 +101,9 @@ jobs:
- name: "Build and Deploy Gitlab Runner php7.4 Image:"
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:"
run: cd linux/ecosystem/gitlab/runner/php8.0 && pwd && make build && make deploy

View File

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

View File

@ -28,47 +28,56 @@ jobs:
run: cd linux/ecosystem/nodejs/current && pwd && make build && make deploy
- 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:"
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:"
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:"
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:"
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:"
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:"
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:"
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:"
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:"
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:"
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:"
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:"
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:"
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

View File

@ -38,6 +38,9 @@ jobs:
- name: "Build and Deploy PostgreSQL 9.2 Image:"
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:"
run: cd linux/ecosystem/postgres/9.3 && pwd && make build && make deploy
@ -53,6 +56,9 @@ jobs:
- name: "Build and Deploy PostgreSQL 10 Image:"
run: cd linux/ecosystem/postgres/10 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy PostgreSQL 11 Image:"
run: cd linux/ecosystem/postgres/11 && pwd && make build && make deploy

View File

@ -47,6 +47,9 @@ jobs:
- name: "Build and Deploy TeamCity Agent Android SDK Image:"
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:"
run: cd linux/ecosystem/teamcity/agent/atlassian-sdk && pwd && make build && make deploy
@ -62,6 +65,9 @@ jobs:
- name: "Build and Deploy TeamCity Agent node14 Image:"
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:"
run: cd linux/ecosystem/teamcity/agent/node15 && pwd && make build && make deploy
@ -74,6 +80,9 @@ jobs:
- name: "Build and Deploy TeamCity Agent node18 Image:"
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:"
run: cd linux/ecosystem/teamcity/agent/node19 && pwd && make build && make deploy
@ -86,6 +95,9 @@ jobs:
- name: "Build and Deploy TeamCity Agent php7.3 Image:"
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:"
run: cd linux/ecosystem/teamcity/agent/php7.4 && pwd && make build && make deploy

View File

@ -72,6 +72,48 @@ jobs:
- name: Test 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
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 `p4` to `23.2` in base images
* updated `perforce` iamges - `p4` and `p4p` to `r23.1` and `r23.2`
* updated `qbittorrent` iamges
* updated `nodejs` iamges
* `jan`
* new versions of images
* 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:
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/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/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:
cd `pwd`/linux/ecosystem/ninjam/latest && pwd && make build && make deploy
@ -596,6 +597,19 @@ ecosystem-vk2discord-images:
ecosystem-qbittorrent-images:
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.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
##################################################################
RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN mkdir -p /etc/apt/keyrings
##################################################################
# 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/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/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/locale.gen /etc/locale.gen
@ -37,12 +40,6 @@ RUN apt-get update && \
apt-get upgrade -y && \
apt-get dist-upgrade -y
##################################################################
# Version
##################################################################
RUN python --version
RUN pip --version
##################################################################
# installing utils
##################################################################
@ -68,22 +65,20 @@ RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | x
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
##################################################################
# 7z official binary
##################################################################
ARG SZ_VERSION=7z2400
ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
##################################################################
# 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
#configured by dockerfile / .ENV
ARG P4_VERSION
ARG P4_DOWNLOAD_URL
ARG SZ_VERSION
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
##################################################################
# update lists
@ -217,41 +212,50 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
##################################################################
# 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-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-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list
RUN apt-get update && \
apt-get install -y --allow-unauthenticated \
git && \
git --version
git
RUN echo "=============================================" && \
echo git $(git --version) && \
echo "============================================="
##################################################################
# git-lfs official binary
##################################################################
#RUN curl -s https://packagecloud.io/github/git-lfs/gpgkey | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/git-lfs.gpg --import && \
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
RUN curl -fsSL https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list
COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
RUN apt-get update && \
apt-get install -y --allow-unauthenticated \
git \
git-lfs && \
git --version && \
git-lfs install --skip-repo && \
git-lfs --version
git-lfs install --skip-repo
RUN echo "=============================================" && \
echo git $(git --version) && \
echo git-lfs $(git-lfs --version) && \
echo "============================================="
##################################################################
# gh official binary
##################################################################
RUN wget -c https://cli.github.com/packages/githubcli-archive-keyring.gpg -O /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
chmod go+r /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list && \
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/keyrings/githubcli-archive-keyring.gpg && \
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 install -y --allow-unauthenticated \
gh && \
gh --version
gh
RUN echo "=============================================" && \
echo gh $(gh --version) && \
echo "============================================="
##################################################################
# Install p4client
@ -266,9 +270,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/7z && \
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
chmod +x /tmp/7z/7zz && \
mv -fv /tmp/7z/7zz /usr/bin/ && \
7zz | head -4 && \
7z | head -4
mv -fv /tmp/7z/7zz /usr/bin/
RUN echo "=============================================" && \
echo 7zz $(7zz | head -4) && \
echo 7z $(7z | head -4) && \
echo "============================================="
##################################################################
# Install LazyGit official binary
@ -277,21 +284,46 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/lazygit && \
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
chmod +x /tmp/lazygit/lazygit && \
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \
echo "lazygit version:" && \
lazygit --version
mv -fv /tmp/lazygit/lazygit /usr/bin/
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 python --version
RUN pip --version
RUN echo "=============================================" && \
echo python3 $(python3 --version) && \
echo pip3 $(pip3 --version) && \
echo python $(python --version) && \
echo pip $(pip --version) && \
echo "============================================="
##################################################################
# Generate ssl key
##################################################################
#RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
##################################################################
# update locales

View File

@ -4,3 +4,14 @@ services:
image: "epicmorg/python:2.7"
build:
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-src 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 [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
deb https://ppa.launchpadcontent.net/git-core/candidate/ubuntu cosmic main
deb-src 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 [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
deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu cosmic main
deb-src 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 [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
##################################################################
RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN mkdir -p /etc/apt/keyrings
##################################################################
# 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/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/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/locale.gen /etc/locale.gen
@ -37,15 +40,6 @@ RUN apt-get update && \
apt-get upgrade -y && \
apt-get dist-upgrade -y
##################################################################
# Version
##################################################################
RUN python3 --version
RUN pip3 --version
RUN python --version
RUN pip --version
##################################################################
# installing utils
##################################################################
@ -71,22 +65,20 @@ RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | x
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
##################################################################
# 7z official binary
##################################################################
ARG SZ_VERSION=7z2400
ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
##################################################################
# 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
#configured by dockerfile / .ENV
ARG P4_VERSION
ARG P4_DOWNLOAD_URL
ARG SZ_VERSION
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
##################################################################
# update lists
@ -219,41 +211,50 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
##################################################################
# 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-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-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list
RUN apt-get update && \
apt-get install -y --allow-unauthenticated \
git && \
git --version
git
RUN echo "=============================================" && \
echo git $(git --version) && \
echo "============================================="
##################################################################
# git-lfs official binary
##################################################################
#RUN curl -s https://packagecloud.io/github/git-lfs/gpgkey | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/git-lfs.gpg --import && \
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
RUN curl -fsSL https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list
COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
RUN apt-get update && \
apt-get install -y --allow-unauthenticated \
git \
git-lfs && \
git --version && \
git-lfs install --skip-repo && \
git-lfs --version
git-lfs install --skip-repo
RUN echo "=============================================" && \
echo git $(git --version) && \
echo git-lfs $(git-lfs --version) && \
echo "============================================="
##################################################################
# gh official binary
##################################################################
RUN wget -c https://cli.github.com/packages/githubcli-archive-keyring.gpg -O /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
chmod go+r /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list && \
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/keyrings/githubcli-archive-keyring.gpg && \
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 install -y --allow-unauthenticated \
gh && \
gh --version
gh
RUN echo "=============================================" && \
echo gh $(gh --version) && \
echo "============================================="
##################################################################
# Install p4client
@ -268,9 +269,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/7z && \
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
chmod +x /tmp/7z/7zz && \
mv -fv /tmp/7z/7zz /usr/bin/ && \
7zz | head -4 && \
7z | head -4
mv -fv /tmp/7z/7zz /usr/bin/
RUN echo "=============================================" && \
echo 7zz $(7zz | head -4) && \
echo 7z $(7z | head -4) && \
echo "============================================="
##################################################################
# Install LazyGit official binary
@ -279,22 +283,46 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/lazygit && \
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
chmod +x /tmp/lazygit/lazygit && \
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \
echo "lazygit version:" && \
lazygit --version
mv -fv /tmp/lazygit/lazygit /usr/bin/
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 python3 --version
RUN pip3 --version
RUN python --version
RUN pip --version
RUN echo "=============================================" && \
echo python3 $(python3 --version) && \
echo pip3 $(pip3 --version) && \
echo python $(python --version) && \
echo pip $(pip --version) && \
echo "============================================="
##################################################################
# Generate ssl key
##################################################################
#RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
##################################################################
# update locales

View File

@ -4,3 +4,14 @@ services:
image: "epicmorg/python:3.10"
build:
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-src 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 [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
deb https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main
deb-src 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 [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
deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main
deb-src 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 [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
##################################################################
RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN mkdir -p /etc/apt/keyrings
##################################################################
# 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/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/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/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 && \
apt-get upgrade -y && \
apt-get dist-upgrade -y
@ -60,25 +59,26 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
software-properties-common \
sudo
RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys
RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | xargs -n1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
RUN update-ca-certificates
##################################################################
# perforce client binary
# ARGuments
##################################################################
ARG P4_VERSION=r23.2
ARG P4_DOWNLOAD_URL=http://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
##################################################################
# 7z official binary
##################################################################
ARG SZ_VERSION=7z2400
ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
##################################################################
# 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
#configured by dockerfile / .ENV
ARG P4_VERSION
ARG P4_DOWNLOAD_URL
ARG SZ_VERSION
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
##################################################################
# update lists
@ -211,41 +211,50 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
##################################################################
# 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-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-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list
RUN apt-get update && \
apt-get install -y --allow-unauthenticated \
git && \
git --version
git
RUN echo "=============================================" && \
echo git $(git --version) && \
echo "============================================="
##################################################################
# git-lfs official binary
##################################################################
#RUN curl -s https://packagecloud.io/github/git-lfs/gpgkey | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/git-lfs.gpg --import && \
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
RUN curl -fsSL https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list
COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
RUN apt-get update && \
apt-get install -y --allow-unauthenticated \
git \
git-lfs && \
git --version && \
git-lfs install --skip-repo && \
git-lfs --version
git-lfs install --skip-repo
RUN echo "=============================================" && \
echo git $(git --version) && \
echo git-lfs $(git-lfs --version) && \
echo "============================================="
##################################################################
# gh official binary
##################################################################
RUN wget -c https://cli.github.com/packages/githubcli-archive-keyring.gpg -O /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
chmod go+r /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list && \
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/keyrings/githubcli-archive-keyring.gpg && \
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 install -y --allow-unauthenticated \
gh && \
gh --version
gh
RUN echo "=============================================" && \
echo gh $(gh --version) && \
echo "============================================="
##################################################################
# Install p4client
@ -260,9 +269,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/7z && \
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
chmod +x /tmp/7z/7zz && \
mv -fv /tmp/7z/7zz /usr/bin/ && \
7zz | head -4 && \
7z | head -4
mv -fv /tmp/7z/7zz /usr/bin/
RUN echo "=============================================" && \
echo 7zz $(7zz | head -4) && \
echo 7z $(7z | head -4) && \
echo "============================================="
##################################################################
# Install LazyGit official binary
@ -271,14 +283,46 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/lazygit && \
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
chmod +x /tmp/lazygit/lazygit && \
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \
echo "lazygit version:" && \
lazygit --version
mv -fv /tmp/lazygit/lazygit /usr/bin/
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
##################################################################
#RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
##################################################################
# 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-src 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 [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
deb https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main
deb-src 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 [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
deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main
deb-src 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 [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
##################################################################
RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN mkdir -p /etc/apt/keyrings
##################################################################
# 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/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/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/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 && \
apt-get upgrade -y && \
apt-get dist-upgrade -y
@ -60,25 +59,26 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
software-properties-common \
sudo
RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys
RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | xargs -n1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
RUN update-ca-certificates
##################################################################
# perforce client binary
# ARGuments
##################################################################
ARG P4_VERSION=r23.2
ARG P4_DOWNLOAD_URL=http://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
##################################################################
# 7z official binary
##################################################################
ARG SZ_VERSION=7z2400
ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
##################################################################
# 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
#configured by dockerfile / .ENV
ARG P4_VERSION
ARG P4_DOWNLOAD_URL
ARG SZ_VERSION
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
##################################################################
# update lists
@ -182,7 +182,6 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
xz-utils \
zip
##################################################################
# installing fs-tools
##################################################################
@ -211,41 +210,50 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
##################################################################
# 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-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-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list
RUN apt-get update && \
apt-get install -y --allow-unauthenticated \
git && \
git --version
git
RUN echo "=============================================" && \
echo git $(git --version) && \
echo "============================================="
##################################################################
# git-lfs official binary
##################################################################
#RUN curl -s https://packagecloud.io/github/git-lfs/gpgkey | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/git-lfs.gpg --import && \
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
RUN curl -fsSL https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list
COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
RUN apt-get update && \
apt-get install -y --allow-unauthenticated \
git \
git-lfs && \
git --version && \
git-lfs install --skip-repo && \
git-lfs --version
git-lfs install --skip-repo
RUN echo "=============================================" && \
echo git $(git --version) && \
echo git-lfs $(git-lfs --version) && \
echo "============================================="
##################################################################
# gh official binary
##################################################################
RUN wget -c https://cli.github.com/packages/githubcli-archive-keyring.gpg -O /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
chmod go+r /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list && \
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/keyrings/githubcli-archive-keyring.gpg && \
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 install -y --allow-unauthenticated \
gh && \
gh --version
gh
RUN echo "=============================================" && \
echo gh $(gh --version) && \
echo "============================================="
##################################################################
# Install p4client
@ -260,9 +268,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/7z && \
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
chmod +x /tmp/7z/7zz && \
mv -fv /tmp/7z/7zz /usr/bin/ && \
7zz | head -4 && \
7z | head -4
mv -fv /tmp/7z/7zz /usr/bin/
RUN echo "=============================================" && \
echo 7zz $(7zz | head -4) && \
echo 7z $(7z | head -4) && \
echo "============================================="
##################################################################
# Install LazyGit official binary
@ -271,14 +282,46 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/lazygit && \
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
chmod +x /tmp/lazygit/lazygit && \
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \
echo "lazygit version:" && \
lazygit --version
mv -fv /tmp/lazygit/lazygit /usr/bin/
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
##################################################################
#RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
##################################################################
# update locales

View File

@ -4,3 +4,14 @@ services:
image: "epicmorg/python:3.12"
build:
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-src 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 [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
deb https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main
deb-src 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 [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
deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main
deb-src 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 [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
##################################################################
RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN mkdir -p /etc/apt/keyrings
##################################################################
# 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/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/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/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 && \
apt-get upgrade -y && \
apt-get dist-upgrade -y
@ -60,25 +59,26 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
software-properties-common \
sudo
RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys
RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | xargs -n1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
RUN update-ca-certificates
##################################################################
# perforce client binary
# ARGuments
##################################################################
ARG P4_VERSION=r23.2
ARG P4_DOWNLOAD_URL=http://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
##################################################################
# 7z official binary
##################################################################
ARG SZ_VERSION=7z2400
ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
##################################################################
# 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
#configured by dockerfile / .ENV
ARG P4_VERSION
ARG P4_DOWNLOAD_URL
ARG SZ_VERSION
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
##################################################################
# update lists
@ -210,41 +210,50 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
##################################################################
# 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-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-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list
RUN apt-get update && \
apt-get install -y --allow-unauthenticated \
git && \
git --version
git
RUN echo "=============================================" && \
echo git $(git --version) && \
echo "============================================="
##################################################################
# git-lfs official binary
##################################################################
#RUN curl -s https://packagecloud.io/github/git-lfs/gpgkey | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/git-lfs.gpg --import && \
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
RUN curl -fsSL https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list
COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
RUN apt-get update && \
apt-get install -y --allow-unauthenticated \
git \
git-lfs && \
git --version && \
git-lfs install --skip-repo && \
git-lfs --version
git-lfs install --skip-repo
RUN echo "=============================================" && \
echo git $(git --version) && \
echo git-lfs $(git-lfs --version) && \
echo "============================================="
##################################################################
# gh official binary
##################################################################
RUN wget -c https://cli.github.com/packages/githubcli-archive-keyring.gpg -O /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
chmod go+r /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list && \
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/keyrings/githubcli-archive-keyring.gpg && \
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 install -y --allow-unauthenticated \
gh && \
gh --version
gh
RUN echo "=============================================" && \
echo gh $(gh --version) && \
echo "============================================="
##################################################################
# Install p4client
@ -259,9 +268,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/7z && \
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
chmod +x /tmp/7z/7zz && \
mv -fv /tmp/7z/7zz /usr/bin/ && \
7zz | head -4 && \
7z | head -4
mv -fv /tmp/7z/7zz /usr/bin/
RUN echo "=============================================" && \
echo 7zz $(7zz | head -4) && \
echo 7z $(7z | head -4) && \
echo "============================================="
##################################################################
# Install LazyGit official binary
@ -270,14 +282,46 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/lazygit && \
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
chmod +x /tmp/lazygit/lazygit && \
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \
echo "lazygit version:" && \
lazygit --version
mv -fv /tmp/lazygit/lazygit /usr/bin/
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
##################################################################
#RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
##################################################################
# update locales

View File

@ -4,3 +4,14 @@ services:
image: "epicmorg/python:3.13"
build:
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-src 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 [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
deb https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main
deb-src 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 [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
deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main
deb-src 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 [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
##################################################################
RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN mkdir -p /etc/apt/keyrings
##################################################################
# 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/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/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/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
##################################################################
# perforce client binary
# ARGuments
##################################################################
ARG P4_VERSION=r23.2
ARG P4_DOWNLOAD_URL=http://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
##################################################################
# 7z official binary
##################################################################
ARG SZ_VERSION=7z2400
ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
##################################################################
# 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
#configured by dockerfile / .ENV
ARG P4_VERSION
ARG P4_DOWNLOAD_URL
ARG SZ_VERSION
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
##################################################################
# update lists
@ -208,41 +209,50 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
##################################################################
# 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-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-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list
RUN apt-get update && \
apt-get install -y --allow-unauthenticated \
git && \
git --version
git
RUN echo "=============================================" && \
echo git $(git --version) && \
echo "============================================="
##################################################################
# git-lfs official binary
##################################################################
#RUN curl -s https://packagecloud.io/github/git-lfs/gpgkey | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/git-lfs.gpg --import && \
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
RUN curl -fsSL https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list
COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
RUN apt-get update && \
apt-get install -y --allow-unauthenticated \
git \
git-lfs && \
git --version && \
git-lfs install --skip-repo && \
git-lfs --version
git-lfs install --skip-repo
RUN echo "=============================================" && \
echo git $(git --version) && \
echo git-lfs $(git-lfs --version) && \
echo "============================================="
##################################################################
# gh official binary
##################################################################
RUN wget -c https://cli.github.com/packages/githubcli-archive-keyring.gpg -O /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
chmod go+r /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list && \
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/keyrings/githubcli-archive-keyring.gpg && \
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 install -y --allow-unauthenticated \
gh && \
gh --version
gh
RUN echo "=============================================" && \
echo gh $(gh --version) && \
echo "============================================="
##################################################################
# Install p4client
@ -257,9 +267,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/7z && \
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
chmod +x /tmp/7z/7zz && \
mv -fv /tmp/7z/7zz /usr/bin/ && \
7zz | head -4 && \
7z | head -4
mv -fv /tmp/7z/7zz /usr/bin/
RUN echo "=============================================" && \
echo 7zz $(7zz | head -4) && \
echo 7z $(7z | head -4) && \
echo "============================================="
##################################################################
# Install LazyGit official binary
@ -268,14 +281,46 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/lazygit && \
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
chmod +x /tmp/lazygit/lazygit && \
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \
echo "lazygit version:" && \
lazygit --version
mv -fv /tmp/lazygit/lazygit /usr/bin/
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
##################################################################
#RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
##################################################################
# update locales

View File

@ -4,3 +4,14 @@ services:
image: "epicmorg/python:3.6"
build:
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-src 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 [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
deb https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main
deb-src 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 [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
deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main
deb-src 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 [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
##################################################################
RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN mkdir -p /etc/apt/keyrings
##################################################################
# 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/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/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/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
##################################################################
# perforce client binary
# ARGuments
##################################################################
ARG P4_VERSION=r23.2
ARG P4_DOWNLOAD_URL=http://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
##################################################################
# 7z official binary
##################################################################
ARG SZ_VERSION=7z2400
ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
##################################################################
# 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
#configured by dockerfile / .ENV
ARG P4_VERSION
ARG P4_DOWNLOAD_URL
ARG SZ_VERSION
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
##################################################################
# update lists
@ -209,41 +210,50 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
##################################################################
# 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-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-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list
RUN apt-get update && \
apt-get install -y --allow-unauthenticated \
git && \
git --version
git
RUN echo "=============================================" && \
echo git $(git --version) && \
echo "============================================="
##################################################################
# git-lfs official binary
##################################################################
#RUN curl -s https://packagecloud.io/github/git-lfs/gpgkey | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/git-lfs.gpg --import && \
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
RUN curl -fsSL https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list
COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
RUN apt-get update && \
apt-get install -y --allow-unauthenticated \
git \
git-lfs && \
git --version && \
git-lfs install --skip-repo && \
git-lfs --version
git-lfs install --skip-repo
RUN echo "=============================================" && \
echo git $(git --version) && \
echo git-lfs $(git-lfs --version) && \
echo "============================================="
##################################################################
# gh official binary
##################################################################
RUN wget -c https://cli.github.com/packages/githubcli-archive-keyring.gpg -O /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
chmod go+r /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list && \
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/keyrings/githubcli-archive-keyring.gpg && \
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 install -y --allow-unauthenticated \
gh && \
gh --version
gh
RUN echo "=============================================" && \
echo gh $(gh --version) && \
echo "============================================="
##################################################################
# Install p4client
@ -258,9 +268,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/7z && \
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
chmod +x /tmp/7z/7zz && \
mv -fv /tmp/7z/7zz /usr/bin/ && \
7zz | head -4 && \
7z | head -4
mv -fv /tmp/7z/7zz /usr/bin/
RUN echo "=============================================" && \
echo 7zz $(7zz | head -4) && \
echo 7z $(7z | head -4) && \
echo "============================================="
##################################################################
# Install LazyGit official binary
@ -269,14 +282,46 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/lazygit && \
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
chmod +x /tmp/lazygit/lazygit && \
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \
echo "lazygit version:" && \
lazygit --version
mv -fv /tmp/lazygit/lazygit /usr/bin/
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
##################################################################
#RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
##################################################################
# update locales

View File

@ -4,3 +4,14 @@ services:
image: "epicmorg/python:3.7"
build:
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-src 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 [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
deb https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main
deb-src 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 [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
deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main
deb-src 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 [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
##################################################################
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-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-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list
RUN apt-get update && \
apt-get install -y --allow-unauthenticated \
git && \
git --version
git
RUN echo "=============================================" && \
echo git $(git --version) && \
echo "============================================="
##################################################################
# git-lfs official binary
##################################################################
#RUN curl -s https://packagecloud.io/github/git-lfs/gpgkey | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/git-lfs.gpg --import && \
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
RUN curl -fsSL https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list
COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
RUN apt-get update && \
apt-get install -y --allow-unauthenticated \
git \
git-lfs && \
git --version && \
git-lfs install --skip-repo && \
git-lfs --version
git-lfs install --skip-repo
RUN echo "=============================================" && \
echo git $(git --version) && \
echo git-lfs $(git-lfs --version) && \
echo "============================================="
##################################################################
# gh official binary
##################################################################
RUN wget -c https://cli.github.com/packages/githubcli-archive-keyring.gpg -O /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
chmod go+r /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list && \
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/keyrings/githubcli-archive-keyring.gpg && \
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 install -y --allow-unauthenticated \
gh && \
gh --version
gh
RUN echo "=============================================" && \
echo gh $(gh --version) && \
echo "============================================="
##################################################################
# Install p4client
@ -258,9 +267,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/7z && \
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
chmod +x /tmp/7z/7zz && \
mv -fv /tmp/7z/7zz /usr/bin/ && \
7zz | head -4 && \
7z | head -4
mv -fv /tmp/7z/7zz /usr/bin/
RUN echo "=============================================" && \
echo 7zz $(7zz | head -4) && \
echo 7z $(7z | head -4) && \
echo "============================================="
##################################################################
# Install LazyGit official binary
@ -269,14 +281,46 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/lazygit && \
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
chmod +x /tmp/lazygit/lazygit && \
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \
echo "lazygit version:" && \
lazygit --version
mv -fv /tmp/lazygit/lazygit /usr/bin/
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
##################################################################
#RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
##################################################################
# update locales

View File

@ -4,3 +4,14 @@ services:
image: "epicmorg/python:3.8"
build:
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-src 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 [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
deb https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main
deb-src 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 [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
deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main
deb-src 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 [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
##################################################################
RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN mkdir -p /etc/apt/keyrings
##################################################################
# 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/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/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/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
##################################################################
# perforce client binary
# ARGuments
##################################################################
ARG P4_VERSION=r23.2
ARG P4_DOWNLOAD_URL=http://filehost.perforce.com/perforce/${P4_VERSION}/bin.linux26x86_64/p4
##################################################################
# 7z official binary
##################################################################
ARG SZ_VERSION=7z2400
ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
#configured by dockerfile / .ENV
ARG P4_VERSION
ARG P4_DOWNLOAD_URL
ARG SZ_VERSION
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
@ -181,7 +183,6 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
xz-utils \
zip
##################################################################
# installing fs-tools
##################################################################
@ -210,41 +211,50 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
##################################################################
# 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-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-stable.list /etc/apt/sources.list.d/launchpad_git-stable.list
RUN apt-get update && \
apt-get install -y --allow-unauthenticated \
git && \
git --version
git
RUN echo "=============================================" && \
echo git $(git --version) && \
echo "============================================="
##################################################################
# git-lfs official binary
##################################################################
#RUN curl -s https://packagecloud.io/github/git-lfs/gpgkey | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/git-lfs.gpg --import && \
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
RUN curl -fsSL https://packagecloud.io/github/git-lfs/gpgkey | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list
COPY etc/apt/sources.list.d/github_git-lfs.list /etc/apt/sources.list.d/github_git-lfs.list
RUN apt-get update && \
apt-get install -y --allow-unauthenticated \
git \
git-lfs && \
git --version && \
git-lfs install --skip-repo && \
git-lfs --version
git-lfs install --skip-repo
RUN echo "=============================================" && \
echo git $(git --version) && \
echo git-lfs $(git-lfs --version) && \
echo "============================================="
##################################################################
# gh official binary
##################################################################
RUN wget -c https://cli.github.com/packages/githubcli-archive-keyring.gpg -O /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
chmod go+r /etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg && \
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list && \
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/keyrings/githubcli-archive-keyring.gpg && \
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 install -y --allow-unauthenticated \
gh && \
gh --version
gh
RUN echo "=============================================" && \
echo gh $(gh --version) && \
echo "============================================="
##################################################################
# Install p4client
@ -259,9 +269,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/7z && \
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
chmod +x /tmp/7z/7zz && \
mv -fv /tmp/7z/7zz /usr/bin/ && \
7zz | head -4 && \
7z | head -4
mv -fv /tmp/7z/7zz /usr/bin/
RUN echo "=============================================" && \
echo 7zz $(7zz | head -4) && \
echo 7z $(7z | head -4) && \
echo "============================================="
##################################################################
# Install LazyGit official binary
@ -270,14 +283,46 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue
mkdir -p /tmp/lazygit && \
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
chmod +x /tmp/lazygit/lazygit && \
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \
echo "lazygit version:" && \
lazygit --version
mv -fv /tmp/lazygit/lazygit /usr/bin/
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
##################################################################
#RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
RUN openssl dhparam -out /etc/ssl/dhparam.pem 4096
##################################################################
# update locales

View File

@ -4,3 +4,14 @@ services:
image: "epicmorg/python:3.9"
build:
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-src 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 [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
deb https://ppa.launchpadcontent.net/git-core/candidate/ubuntu focal main
deb-src 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 [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
deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu focal main
deb-src 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 [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