This commit is contained in:
Anatolii Zimovskii 2022-05-06 01:06:22 +03:00
parent 358be52bfd
commit b7161994fb
Signed by: stam
GPG Key ID: AA3A575AB99E8469
59 changed files with 970 additions and 55 deletions

View File

@ -119,6 +119,38 @@ ecosystem-images:
make ecosystem-nginx-images make ecosystem-nginx-images
make ecosystem-vscode-server-images make ecosystem-vscode-server-images
ecosystem-debian-jessie-images:
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/slim && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/main && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk6 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk7 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk8 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk11 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk12 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk13 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk14 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk15 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk16 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk17 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/jdk18 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/develop && pwd && make
ecosystem-debian-stretch-images:
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/slim && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/main && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk6 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk7 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk8 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk11 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk12 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk13 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk14 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk15 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk16 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk17 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/jdk18 && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/debian/09-stretch/develop && pwd && make
ecosystem-prod-images: ecosystem-prod-images:
cd `pwd`/linux/ecosystem/epicmorg/prod/main && pwd && make cd `pwd`/linux/ecosystem/epicmorg/prod/main && pwd && make
cd `pwd`/linux/ecosystem/epicmorg/prod/jdk6 && pwd && make cd `pwd`/linux/ecosystem/epicmorg/prod/jdk6 && pwd && make

View File

@ -1,4 +1,4 @@
FROM epicmorg/prod:jdk8 FROM epicmorg/edge:jdk11
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive

View File

@ -1,4 +1,4 @@
FROM epicmorg/prod:jdk11 FROM epicmorg/edge:jdk11
LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive

View File

@ -2,11 +2,33 @@ FROM epicmorg/debian:jessie
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
ENV BuildDocker true
ARG BUILDS_DIR=/builds
ARG SRC_DIR=${BUILDS_DIR}/src
ARG EXPORT_DIR=${BUILDS_DIR}/export
ARG NINJA_ARCH=linux
ARG NINJA_VERSION=latest
ARG NINJA_RELEASE_URL=https://api.github.com/repos/ninja-build/ninja/releases/${NINJA_VERSION}
##################################################################
# Files and folders
##################################################################
RUN mkdir -p ${SRC_DIR} ${EXPORT_DIR} ${PRE_DIR}
##################################################################
# sid sources list
##################################################################
RUN apt-get update && \
apt-get dist-upgrade -y
################################################################## ##################################################################
# installing # installing
################################################################## ##################################################################
RUN apt-get update && \ RUN apt-get update && \
apt install -y --allow-unauthenticated --allow-downgrades \ apt-get install -y --allow-unauthenticated \
build-essential \ build-essential \
autoconf-archive \ autoconf-archive \
gnu-standards \ gnu-standards \
@ -64,9 +86,13 @@ RUN apt-get update && \
libcrypto++-dev \ libcrypto++-dev \
libbz2-dev \ libbz2-dev \
libvpx-dev \ libvpx-dev \
libvpx6 \
tcl tcl
##################################################################
# other customisations
##################################################################
################################################################## ##################################################################
# cleanup # cleanup
################################################################## ##################################################################

View File

@ -2,6 +2,24 @@ FROM epicmorg/debian:jessie-slim
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# perforce client binary
##################################################################
ENV P4_VERSION=r21.2
ENV P4_DOWNLOAD_URL=https://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64/p4
##################################################################
# 7z official binary
##################################################################
ENV SZ_VERSION=7z2103
ENV SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
##################################################################
# LazyGit official binary
##################################################################
ENV LZGIT_VERSION=0.31.4
ENV LZGIT_DOWNLOAD_URL=https://github.com/jesseduffield/lazygit/releases/download/v${LZGIT_VERSION}/lazygit_${LZGIT_VERSION}_Linux_x86_64.tar.gz
################################################################## ##################################################################
# update lists # update lists
################################################################## ##################################################################
@ -106,6 +124,57 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
xfsprogs \ xfsprogs \
xfsdump xfsdump
##################################################################
# git-lfs official binary
##################################################################
#RUN curl -s https://packagecloud.io/github/git-lfs/gpgkey | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/git-lfs.gpg --import && \
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list
COPY 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 --version
##################################################################
# gh official binary
##################################################################
COPY sources.list.d/github-cli.list /etc/apt/sources.list.d/github-cli.list
RUN apt-get update && \
apt-get install -y --allow-unauthenticated \
gh && \
gh --version
##################################################################
# Install p4client
##################################################################
RUN wget -nv --random-wait -c -P /usr/bin ${P4_DOWNLOAD_URL} && \
chmod +x /usr/bin/p4
##################################################################
# Install 7z official binary
##################################################################
RUN wget -nv --random-wait -c -O /tmp/7z.tar.xz ${SZ_DOWNLOAD_URL} && \
mkdir -p /tmp/7z && \
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
chmod +x /tmp/7z/7zz && \
mv -fv /tmp/7z/7zz /usr/bin/ && \
7zz | head -4 && \
7z | head -4
##################################################################
# Install LazyGit official binary
##################################################################
RUN wget -nv --random-wait -c -O /tmp/lazygit.tar.xz ${LZGIT_DOWNLOAD_URL} && \
mkdir -p /tmp/lazygit && \
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
chmod +x /tmp/lazygit/lazygit && \
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \
echo "lazygit version:" && \
lazygit --version
################################################################## ##################################################################
# Generate ssl key # Generate ssl key
################################################################## ##################################################################

View File

@ -0,0 +1 @@
deb https://cli.github.com/packages stable main

View File

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

View File

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

View File

@ -13,18 +13,16 @@ RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN rm -rfv /etc/apt/sources.list RUN rm -rfv /etc/apt/sources.list
RUN rm -rfv /etc/locale.gen RUN rm -rfv /etc/locale.gen
COPY etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg /etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg
COPY etc/apt/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until COPY etc/apt/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until
COPY etc/apt/sources.list /etc/apt/sources.list COPY etc/apt/sources.list /etc/apt/sources.list
COPY etc/locale.gen.full /etc/locale.gen COPY etc/locale.gen.full /etc/locale.gen
RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys
RUN apt-get update && \ RUN apt-get update && \
apt-get upgrade -y && \ apt-get upgrade -y && \
apt-get dist-upgrade -y apt-get dist-upgrade -y
RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | xargs -n1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
################################################################## ##################################################################
# installing utils # installing utils
################################################################## ##################################################################
@ -35,12 +33,17 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
aptitude \ aptitude \
bash \ bash \
binutils \ binutils \
gnupg \
gnupg2 \
console-cyrillic \ console-cyrillic \
ca-certificates \ ca-certificates \
locales \ locales \
software-properties-common \ software-properties-common \
sudo sudo
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-key adv --keyserver keyserver.ubuntu.com --refresh-keys
################################################################## ##################################################################
# update locales # update locales
################################################################## ##################################################################

View File

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

View File

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

View File

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

View File

@ -0,0 +1,26 @@
FROM epicmorg/debian:stretch
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# installing java11
##################################################################
RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \
echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \
apt-get update && \
apt-get autoremove -y && \
apt-get install -y --allow-unauthenticated adoptopenjdk-11-hotspot && \
mkdir /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre && \
ln -s /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre/bin && \
ln -s /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/jre/lib && \
java -version
##################################################################
# cleanup
##################################################################
RUN apt-get purge policykit-1 -y && \
apt-get clean -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /tmp/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

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

View File

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

View File

@ -0,0 +1,26 @@
FROM epicmorg/debian:stretch
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# installing java12
##################################################################
RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \
echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \
apt-get update && \
apt-get autoremove -y && \
apt-get install -y --allow-unauthenticated adoptopenjdk-12-hotspot && \
mkdir /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre && \
ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/bin && \
ln -s /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-12-hotspot-amd64/jre/lib && \
java -version
##################################################################
# cleanup
##################################################################
RUN apt-get purge policykit-1 -y && \
apt-get clean -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /tmp/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

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

View File

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

View File

@ -0,0 +1,26 @@
FROM epicmorg/debian:stretch
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# installing java13
##################################################################
RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \
echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \
apt-get update && \
apt-get autoremove -y && \
apt-get install -y --allow-unauthenticated adoptopenjdk-13-hotspot && \
mkdir /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre && \
ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/bin && \
ln -s /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-13-hotspot-amd64/jre/lib && \
java -version
##################################################################
# cleanup
##################################################################
RUN apt-get purge policykit-1 -y && \
apt-get clean -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /tmp/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

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

View File

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

View File

@ -0,0 +1,26 @@
FROM epicmorg/debian:stretch
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# installing java14
##################################################################
RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \
echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \
apt-get update && \
apt-get autoremove -y && \
apt-get install -y --allow-unauthenticated adoptopenjdk-14-hotspot && \
mkdir /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre && \
ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/bin && \
ln -s /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-14-hotspot-amd64/jre/lib && \
java -version
##################################################################
# cleanup
##################################################################
RUN apt-get purge policykit-1 -y && \
apt-get clean -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /tmp/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

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

View File

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

View File

@ -0,0 +1,26 @@
FROM epicmorg/debian:stretch
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# installing java15
##################################################################
RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \
echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \
apt-get update && \
apt-get autoremove -y && \
apt-get install -y --allow-unauthenticated adoptopenjdk-15-hotspot && \
mkdir /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre && \
ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/bin && \
ln -s /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-15-hotspot-amd64/jre/lib && \
java -version
##################################################################
# cleanup
##################################################################
RUN apt-get purge policykit-1 -y && \
apt-get clean -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /tmp/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

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

View File

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

View File

@ -0,0 +1,26 @@
FROM epicmorg/debian:stretch
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# installing java16
##################################################################
RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \
echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \
apt-get update && \
apt-get autoremove -y && \
apt-get install -y --allow-unauthenticated adoptopenjdk-16-hotspot && \
mkdir /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre && \
ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/bin/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/bin && \
ln -s /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/lib/ /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64/jre/lib && \
java -version
##################################################################
# cleanup
##################################################################
RUN apt-get purge policykit-1 -y && \
apt-get clean -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /tmp/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

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

View File

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

View File

@ -0,0 +1,26 @@
FROM epicmorg/debian:stretch
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# installing java16
##################################################################
RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \
echo 'deb https://packages.adoptium.net/artifactory/deb stretch main' > /etc/apt/sources.list.d/temurin-official.list && \
apt-get update && \
apt-get autoremove -y && \
apt-get install -y --allow-unauthenticated temurin-17-jdk && \
mkdir /usr/lib/jvm/temurin-17-jdk-amd64/jre && \
ln -s /usr/lib/jvm/temurin-17-jdk-amd64/bin/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/bin && \
ln -s /usr/lib/jvm/temurin-17-jdk-amd64/lib/ /usr/lib/jvm/temurin-17-jdk-amd64/jre/lib && \
java -version
##################################################################
# cleanup
##################################################################
RUN apt-get purge policykit-1 -y && \
apt-get clean -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /tmp/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

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

View File

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

View File

@ -0,0 +1,26 @@
FROM epicmorg/debian:stretch
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# installing java16
##################################################################
RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \
echo 'deb https://packages.adoptium.net/artifactory/deb stretch main' > /etc/apt/sources.list.d/temurin-official.list && \
apt-get update && \
apt-get autoremove -y && \
apt-get install -y --allow-unauthenticated temurin-18-jdk && \
mkdir /usr/lib/jvm/temurin-18-jdk-amd64/jre && \
ln -s /usr/lib/jvm/temurin-18-jdk-amd64/bin/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/bin && \
ln -s /usr/lib/jvm/temurin-18-jdk-amd64/lib/ /usr/lib/jvm/temurin-18-jdk-amd64/jre/lib && \
java -version
##################################################################
# cleanup
##################################################################
RUN apt-get purge policykit-1 -y && \
apt-get clean -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /tmp/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

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

View File

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

View File

@ -0,0 +1,22 @@
FROM epicmorg/debian:stretch
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# installing java6
##################################################################
RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \
echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \
apt-get update -y && \
apt-get install -y --allow-unauthenticated zulu-6 && \
java -version
##################################################################
# cleanup
##################################################################
RUN apt-get purge policykit-1 -y && \
apt-get clean -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /tmp/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

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

View File

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

View File

@ -0,0 +1,22 @@
FROM epicmorg/debian:stretch
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# installing java7
##################################################################
RUN wget -qO - http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems | apt-key add - && \
echo 'deb http://repos.azulsystems.com/debian stable main' > /etc/apt/sources.list.d/zulu.list && \
apt-get update -y && \
apt-get install -y --allow-unauthenticated zulu-7 && \
java -version
##################################################################
# cleanup
##################################################################
RUN apt-get purge policykit-1 -y && \
apt-get clean -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /tmp/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

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

View File

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

View File

@ -0,0 +1,23 @@
FROM epicmorg/debian:stretch
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# installing java8
##################################################################
RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \
echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ stretch main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \
apt-get update && \
apt-get autoremove -y && \
apt-get install -y --allow-unauthenticated adoptopenjdk-8-hotspot && \
java -version
##################################################################
# cleanup
##################################################################
RUN apt-get purge policykit-1 -y && \
apt-get clean -y && \
apt-get autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /tmp/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

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

View File

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

View File

@ -1,12 +1,29 @@
FROM epicmorg/debian:jessie-slim FROM epicmorg/debian:stretch-slim
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# perforce client binary
##################################################################
ENV P4_VERSION=r21.2
ENV P4_DOWNLOAD_URL=https://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64/p4
##################################################################
# 7z official binary
##################################################################
ENV SZ_VERSION=7z2103
ENV SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
##################################################################
# update lists
##################################################################
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
apt-get update
################################################################## ##################################################################
# installing utils # installing utils
################################################################## ##################################################################
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
apt-get update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
bzip2 \ bzip2 \
cmatrix \ cmatrix \
@ -27,7 +44,6 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
git-crypt \ git-crypt \
git-lfs \ git-lfs \
git-ftp \ git-ftp \
git-hub \
gnupg \ gnupg \
gnupg2 \ gnupg2 \
graphicsmagick \ graphicsmagick \
@ -49,7 +65,6 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
lsof \ lsof \
lynx \ lynx \
lzma \ lzma \
libzip4 \
lzip \ lzip \
lzop \ lzop \
mc \ mc \
@ -71,7 +86,6 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
smbclient \ smbclient \
subversion \ subversion \
telnet \ telnet \
tini \
tmux \ tmux \
tree \ tree \
util-linux \ util-linux \
@ -85,10 +99,9 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
# installing fs-tools # installing fs-tools
################################################################## ##################################################################
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
apt-get update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
btrfs-progs \ btrfs-progs \
exfatprogs \ exfat-utils \
e2fsprogs \ e2fsprogs \
f2fs-tools \ f2fs-tools \
dosfstools \ dosfstools \
@ -107,6 +120,56 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
xfsprogs \ xfsprogs \
xfsdump xfsdump
##################################################################
# git-lfs official binary
##################################################################
#RUN curl -s https://packagecloud.io/github/git-lfs/gpgkey | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/git-lfs.gpg --import && \
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \
rm -rfv /etc/apt/sources.list.d/github_git-lfs.list
COPY 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 --version
##################################################################
# gh official binary
##################################################################
COPY sources.list.d/github-cli.list /etc/apt/sources.list.d/github-cli.list
RUN apt-get update && \
apt-get install -y --allow-unauthenticated \
gh && \
gh --version
##################################################################
# Install p4client
##################################################################
RUN wget -nv --random-wait -c -P /usr/bin ${P4_DOWNLOAD_URL} && \
chmod +x /usr/bin/p4
##################################################################
# Install 7z official binary
##################################################################
RUN wget -nv --random-wait -c -O /tmp/7z.tar.xz ${SZ_DOWNLOAD_URL} && \
mkdir -p /tmp/7z && \
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
chmod +x /tmp/7z/7zz && \
mv -fv /tmp/7z/7zz /usr/bin/ && \
7zz | head -4 && \
7z | head -4
##################################################################
# Install LazyGit official binary
##################################################################
RUN wget -nv --random-wait -c -O /tmp/lazygit.tar.xz ${LZGIT_DOWNLOAD_URL} && \
mkdir -p /tmp/lazygit && \
tar -zxvf /tmp/lazygit.tar.xz -C /tmp/lazygit && \
chmod +x /tmp/lazygit/lazygit && \
mv -fv /tmp/lazygit/lazygit /usr/bin/ && \
echo "lazygit version:" && \
lazygit --version
################################################################## ##################################################################
# Generate ssl key # Generate ssl key

View File

@ -1,6 +1,6 @@
version: '3.9' version: '3.9'
services: services:
app: app:
image: "epicmorg/debian:jessie" image: "epicmorg/debian:stretch"
build: build:
context: . context: .

View File

@ -0,0 +1 @@
deb https://cli.github.com/packages stable main

View File

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

View File

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

View File

@ -1,4 +1,4 @@
FROM debian:jessie-slim FROM debian:stretch-slim
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
@ -13,18 +13,15 @@ RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
RUN rm -rfv /etc/apt/sources.list RUN rm -rfv /etc/apt/sources.list
RUN rm -rfv /etc/locale.gen RUN rm -rfv /etc/locale.gen
COPY etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg /etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg
COPY etc/apt/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until COPY etc/apt/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until
COPY etc/apt/sources.list /etc/apt/sources.list COPY etc/apt/sources.list /etc/apt/sources.list
COPY etc/locale.gen.full /etc/locale.gen COPY etc/locale.gen.full /etc/locale.gen
RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys
RUN apt-get update && \ RUN apt-get update && \
apt-get upgrade -y && \ apt-get upgrade -y && \
apt-get dist-upgrade -y apt-get dist-upgrade -y
RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | xargs -n1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
################################################################## ##################################################################
# installing utils # installing utils
################################################################## ##################################################################
@ -32,6 +29,9 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
apt-transport-https \ apt-transport-https \
apt-utils \ apt-utils \
gnupg \
gnupg1 \
gnupg2 \
aptitude \ aptitude \
bash \ bash \
binutils \ binutils \
@ -41,6 +41,9 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
software-properties-common \ software-properties-common \
sudo sudo
RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys
RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | xargs -n1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
################################################################## ##################################################################
# update locales # update locales
################################################################## ##################################################################

View File

@ -1,6 +1,6 @@
version: '3.9' version: '3.9'
services: services:
app: app:
image: "epicmorg/debian:jessie-slim" image: "epicmorg/debian:stretch-slim"
build: build:
context: . context: .

View File

@ -1,8 +1,19 @@
deb http://security.debian.org/ jessie/updates main #main
deb-src http://security.debian.org/ jessie/updates main deb http://httpredir.debian.org/debian/ stretch main contrib non-free
deb-src http://httpredir.debian.org/debian/ stretch main contrib non-free
deb http://archive.debian.org/debian/ jessie main contrib non-free deb http://httpredir.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://archive.debian.org/debian/ jessie main contrib non-free deb-src http://httpredir.debian.org/debian/ stretch-updates main contrib non-free
deb http://archive.debian.org/debian/ jessie-backports main deb http://httpredir.debian.org/debian/ stretch-backports main contrib non-free
deb-src http://archive.debian.org/debian/ jessie-backports main deb-src http://httpredir.debian.org/debian/ stretch-backports main contrib non-free
deb http://httpredir.debian.org/debian/ stretch-backports-sloppy main contrib non-free
deb-src http://httpredir.debian.org/debian/ stretch-backports-sloppy main contrib non-free
deb http://httpredir.debian.org/debian/ stretch-proposed-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ stretch-proposed-updates main contrib non-free
#security
deb http://httpredir.debian.org/debian-security/ stretch/updates main contrib non-free
deb-src http://httpredir.debian.org/debian-security/ stretch/updates main contrib non-free

View File

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

View File

@ -187,7 +187,5 @@ RUN apt purge policykit-1 -y && \
apt clean -y && \ apt clean -y && \
apt autoclean -y && \ apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \ rm -rfv /var/lib/apt/lists/* && \
rm -rfv /tmp/mc.patch && \ rm -rfv /tmp/* && \
rm -rfv /var/cache/apt/archives/*.deb && \ rm -rfv /var/cache/apt/archives/*.deb
rm -rfv /tmp/7z && \
rm -rfv /tmp/lazygit