diff --git a/Makefile b/Makefile index ff888595b..238c5b0b9 100644 --- a/Makefile +++ b/Makefile @@ -119,6 +119,38 @@ ecosystem-images: make ecosystem-nginx-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: cd `pwd`/linux/ecosystem/epicmorg/prod/main && pwd && make cd `pwd`/linux/ecosystem/epicmorg/prod/jdk6 && pwd && make diff --git a/linux/ecosystem/atlassian/bitbucket/latest/Dockerfile b/linux/ecosystem/atlassian/bitbucket/latest/Dockerfile index 523df3a3b..44aef9d02 100644 --- a/linux/ecosystem/atlassian/bitbucket/latest/Dockerfile +++ b/linux/ecosystem/atlassian/bitbucket/latest/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/prod:jdk8 +FROM epicmorg/edge:jdk11 LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive diff --git a/linux/ecosystem/atlassian/bitbucket/latest/Dockerfile.jdk11 b/linux/ecosystem/atlassian/bitbucket/latest/Dockerfile.jdk11 index 27b49f9eb..6d2335cb0 100644 --- a/linux/ecosystem/atlassian/bitbucket/latest/Dockerfile.jdk11 +++ b/linux/ecosystem/atlassian/bitbucket/latest/Dockerfile.jdk11 @@ -1,4 +1,4 @@ -FROM epicmorg/prod:jdk11 +FROM epicmorg/edge:jdk11 LABEL maintainer="Atlassian Jira Server Team; EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/develop/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/develop/Dockerfile index ed70191b6..b299aad4a 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/develop/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/develop/Dockerfile @@ -2,11 +2,33 @@ FROM epicmorg/debian:jessie 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 install -y --allow-unauthenticated --allow-downgrades \ + apt-get install -y --allow-unauthenticated \ build-essential \ autoconf-archive \ gnu-standards \ @@ -64,9 +86,13 @@ RUN apt-get update && \ libcrypto++-dev \ libbz2-dev \ libvpx-dev \ - libvpx6 \ tcl +################################################################## +# other customisations +################################################################## + + ################################################################## # cleanup ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/main/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/main/Dockerfile index 3bbc2d6ef..fe3b1b186 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/main/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/main/Dockerfile @@ -2,6 +2,24 @@ FROM epicmorg/debian:jessie-slim LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" 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 ################################################################## @@ -106,6 +124,57 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio xfsprogs \ xfsdump +################################################################## +# git-lfs official binary +################################################################## +#RUN curl -s https://packagecloud.io/github/git-lfs/gpgkey | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/git-lfs.gpg --import && \ +RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list +COPY 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 ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/main/etc/apt/sources.list.d/github-cli.list b/linux/ecosystem/epicmorg/debian/08-jessie/main/etc/apt/sources.list.d/github-cli.list new file mode 100644 index 000000000..4442663ff --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/main/etc/apt/sources.list.d/github-cli.list @@ -0,0 +1 @@ +deb https://cli.github.com/packages stable main diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/main/etc/apt/sources.list.d/github_git-lfs.list b/linux/ecosystem/epicmorg/debian/08-jessie/main/etc/apt/sources.list.d/github_git-lfs.list new file mode 100644 index 000000000..867534422 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/main/etc/apt/sources.list.d/github_git-lfs.list @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/main/etc/apt/sources.list.d/sources.list b/linux/ecosystem/epicmorg/debian/08-jessie/main/etc/apt/sources.list.d/sources.list new file mode 100644 index 000000000..412c35d1a --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/08-jessie/main/etc/apt/sources.list.d/sources.list @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/slim/Dockerfile index 090c89db9..f519a28b9 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/slim/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/slim/Dockerfile @@ -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/locale.gen +COPY etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg /etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg COPY etc/apt/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until COPY etc/apt/sources.list /etc/apt/sources.list COPY etc/locale.gen.full /etc/locale.gen -RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys RUN apt-get update && \ apt-get 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 ################################################################## @@ -35,12 +33,17 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio aptitude \ bash \ binutils \ + gnupg \ + gnupg2 \ console-cyrillic \ ca-certificates \ locales \ software-properties-common \ 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 ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/slim/etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg b/linux/ecosystem/epicmorg/debian/08-jessie/slim/etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg new file mode 100644 index 000000000..a4f2b1006 Binary files /dev/null and b/linux/ecosystem/epicmorg/debian/08-jessie/slim/etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg differ diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/slim/etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg b/linux/ecosystem/epicmorg/debian/08-jessie/slim/etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg new file mode 100644 index 000000000..ce02b812e Binary files /dev/null and b/linux/ecosystem/epicmorg/debian/08-jessie/slim/etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg differ diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/develop/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/develop/Dockerfile new file mode 100644 index 000000000..8f9a7cb51 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/develop/Dockerfile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/develop/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/develop/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/develop/Makefile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/develop/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/develop/docker-compose.yml new file mode 100644 index 000000000..f7d35dd8c --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/develop/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:stretch-develop" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile new file mode 100644 index 000000000..25282695f --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Dockerfile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/Makefile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/docker-compose.yml new file mode 100644 index 000000000..2b8348d5e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk11/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:stretch-jdk11" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk12/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk12/Dockerfile new file mode 100644 index 000000000..5470ea7e0 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk12/Dockerfile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk12/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk12/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk12/Makefile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk12/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk12/docker-compose.yml new file mode 100644 index 000000000..9bbde482b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk12/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:stretch-jdk12" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk13/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk13/Dockerfile new file mode 100644 index 000000000..593e4f068 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk13/Dockerfile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk13/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk13/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk13/Makefile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk13/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk13/docker-compose.yml new file mode 100644 index 000000000..d453f301e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk13/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:stretch-jdk13" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk14/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk14/Dockerfile new file mode 100644 index 000000000..059364cb1 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk14/Dockerfile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk14/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk14/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk14/Makefile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk14/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk14/docker-compose.yml new file mode 100644 index 000000000..d8ff18173 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk14/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:stretch-jdk14" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk15/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk15/Dockerfile new file mode 100644 index 000000000..32e42fbb6 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk15/Dockerfile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk15/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk15/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk15/Makefile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk15/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk15/docker-compose.yml new file mode 100644 index 000000000..5fdf8d977 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk15/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:stretch-jdk15" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile new file mode 100644 index 000000000..ef9624dfd --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Dockerfile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/Makefile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/docker-compose.yml new file mode 100644 index 000000000..8bdd47265 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk16/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:stretch-jdk16" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile new file mode 100644 index 000000000..3d1a45c2e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Dockerfile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/Makefile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/docker-compose.yml new file mode 100644 index 000000000..ce7c1d860 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk17/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:stretch-jdk17" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile new file mode 100644 index 000000000..a9f2d46c6 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Dockerfile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/Makefile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/docker-compose.yml new file mode 100644 index 000000000..a721877b1 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk18/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:stretch-jdk18" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile new file mode 100644 index 000000000..c8826f7c9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Dockerfile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/Makefile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/docker-compose.yml new file mode 100644 index 000000000..dde60f673 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk6/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:stretch-jdk6" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile new file mode 100644 index 000000000..253f6d815 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Dockerfile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/Makefile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/docker-compose.yml new file mode 100644 index 000000000..620ddb64d --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk7/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:stretch-jdk7" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile new file mode 100644 index 000000000..70a825dfa --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Dockerfile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Makefile b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Makefile new file mode 100644 index 000000000..bad6d73b5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/Makefile @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/docker-compose.yml new file mode 100644 index 000000000..edc385007 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/jdk8/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:stretch-jdk8" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/main/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/main/Dockerfile index cf22c7406..d98e12f23 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/main/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/main/Dockerfile @@ -1,12 +1,29 @@ -FROM epicmorg/debian:jessie-slim +FROM epicmorg/debian:stretch-slim LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" 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 ################################################################## RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \ - apt-get update && \ apt-get install -y --allow-unauthenticated \ bzip2 \ cmatrix \ @@ -27,7 +44,6 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio git-crypt \ git-lfs \ git-ftp \ - git-hub \ gnupg \ gnupg2 \ graphicsmagick \ @@ -49,7 +65,6 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio lsof \ lynx \ lzma \ - libzip4 \ lzip \ lzop \ mc \ @@ -71,7 +86,6 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio smbclient \ subversion \ telnet \ - tini \ tmux \ tree \ util-linux \ @@ -85,10 +99,9 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio # installing fs-tools ################################################################## RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \ - apt-get update && \ apt-get install -y --allow-unauthenticated \ btrfs-progs \ - exfatprogs \ + exfat-utils \ e2fsprogs \ f2fs-tools \ dosfstools \ @@ -107,6 +120,56 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio xfsprogs \ xfsdump +################################################################## +# git-lfs official binary +################################################################## +#RUN curl -s https://packagecloud.io/github/git-lfs/gpgkey | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/git-lfs.gpg --import && \ +RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 && \ + rm -rfv /etc/apt/sources.list.d/github_git-lfs.list +COPY 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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/main/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/main/docker-compose.yml index 070480159..241a0597d 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/main/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/main/docker-compose.yml @@ -1,6 +1,6 @@ version: '3.9' services: app: - image: "epicmorg/debian:jessie" + image: "epicmorg/debian:stretch" build: context: . diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/main/etc/apt/sources.list.d/github-cli.list b/linux/ecosystem/epicmorg/debian/09-stretch/main/etc/apt/sources.list.d/github-cli.list new file mode 100644 index 000000000..4442663ff --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/main/etc/apt/sources.list.d/github-cli.list @@ -0,0 +1 @@ +deb https://cli.github.com/packages stable main diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/main/etc/apt/sources.list.d/github_git-lfs.list b/linux/ecosystem/epicmorg/debian/09-stretch/main/etc/apt/sources.list.d/github_git-lfs.list new file mode 100644 index 000000000..867534422 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/main/etc/apt/sources.list.d/github_git-lfs.list @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/main/etc/apt/sources.list.d/sources.list b/linux/ecosystem/epicmorg/debian/09-stretch/main/etc/apt/sources.list.d/sources.list new file mode 100644 index 000000000..412c35d1a --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/09-stretch/main/etc/apt/sources.list.d/sources.list @@ -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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/slim/Dockerfile index 090c89db9..28f600443 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/slim/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/09-stretch/slim/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:jessie-slim +FROM debian:stretch-slim LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" 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/locale.gen +COPY etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg /etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg COPY etc/apt/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until COPY etc/apt/sources.list /etc/apt/sources.list COPY etc/locale.gen.full /etc/locale.gen -RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys - RUN apt-get update && \ apt-get 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 ################################################################## @@ -32,6 +29,9 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio apt-get install -y --allow-unauthenticated \ apt-transport-https \ apt-utils \ + gnupg \ + gnupg1 \ + gnupg2 \ aptitude \ bash \ binutils \ @@ -41,6 +41,9 @@ 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 + ################################################################## # update locales ################################################################## diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/slim/docker-compose.yml b/linux/ecosystem/epicmorg/debian/09-stretch/slim/docker-compose.yml index f51648b0d..b34a1bb26 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/slim/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/09-stretch/slim/docker-compose.yml @@ -1,6 +1,6 @@ version: '3.9' services: app: - image: "epicmorg/debian:jessie-slim" + image: "epicmorg/debian:stretch-slim" build: context: . diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/sources.list b/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/sources.list index 27418040c..d30473cb4 100644 --- a/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/sources.list +++ b/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/sources.list @@ -1,8 +1,19 @@ -deb http://security.debian.org/ jessie/updates main -deb-src http://security.debian.org/ jessie/updates main +#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-src 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://httpredir.debian.org/debian/ stretch-updates main contrib non-free -deb http://archive.debian.org/debian/ jessie-backports main -deb-src http://archive.debian.org/debian/ jessie-backports main +deb http://httpredir.debian.org/debian/ stretch-backports main contrib non-free +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 diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/sources.listd b/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/sources.listd deleted file mode 100644 index 374366c1f..000000000 --- a/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/sources.listd +++ /dev/null @@ -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 - diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg b/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg new file mode 100644 index 000000000..a4f2b1006 Binary files /dev/null and b/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg differ diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg b/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg new file mode 100644 index 000000000..ce02b812e Binary files /dev/null and b/linux/ecosystem/epicmorg/debian/09-stretch/slim/etc/apt/trusted.gpg.d/githubcli-archive-keyring.gpg differ diff --git a/linux/ecosystem/epicmorg/prod/main/Dockerfile b/linux/ecosystem/epicmorg/prod/main/Dockerfile index 4eb84357d..295a14fdd 100644 --- a/linux/ecosystem/epicmorg/prod/main/Dockerfile +++ b/linux/ecosystem/epicmorg/prod/main/Dockerfile @@ -187,7 +187,5 @@ RUN apt purge policykit-1 -y && \ apt clean -y && \ apt autoclean -y && \ rm -rfv /var/lib/apt/lists/* && \ - rm -rfv /tmp/mc.patch && \ - rm -rfv /var/cache/apt/archives/*.deb && \ - rm -rfv /tmp/7z && \ - rm -rfv /tmp/lazygit + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb