From 84dce7abf6a60d9ef36a92757f5ff73811c7e651 Mon Sep 17 00:00:00 2001 From: Zimovskii Anatolii Date: Fri, 9 Sep 2022 05:36:44 +0300 Subject: [PATCH] make - autocommit --- Makefile | 2 + .../debian/06-squeeze/develop/Dockerfile | 146 ++++++++++++++++++ .../debian/06-squeeze/develop/Makefile | 19 +++ .../06-squeeze/develop/docker-compose.yml | 6 + .../debian/06-squeeze/main/Dockerfile | 24 +-- .../debian/06-squeeze/slim/Dockerfile | 2 +- .../debian/07-wheezy/develop/Dockerfile | 146 ++++++++++++++++++ .../debian/07-wheezy/develop/Makefile | 19 +++ .../07-wheezy/develop/docker-compose.yml | 6 + .../epicmorg/debian/07-wheezy/main/Dockerfile | 6 +- .../07-wheezy/slim/etc/apt/sources.list | 3 - .../epicmorg/debian/08-jessie/slim/Dockerfile | 2 +- .../debian/09-stretch/slim/Dockerfile | 2 +- 13 files changed, 362 insertions(+), 21 deletions(-) create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/develop/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/develop/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/06-squeeze/develop/docker-compose.yml create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/develop/Dockerfile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/develop/Makefile create mode 100644 linux/ecosystem/epicmorg/debian/07-wheezy/develop/docker-compose.yml diff --git a/Makefile b/Makefile index ac733675e..d0f275e9f 100644 --- a/Makefile +++ b/Makefile @@ -159,10 +159,12 @@ ecosystem-debian-images: ecosystem-debian-squeeze-images: cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/slim && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/main && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/06-squeeze/develop && pwd && make build && make deploy ecosystem-debian-wheezy-images: cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/slim && pwd && make build && make deploy cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/main && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/07-wheezy/develop && pwd && make build && make deploy ecosystem-debian-jessie-images: cd `pwd`/linux/ecosystem/epicmorg/debian/08-jessie/slim && pwd && make build && make deploy diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/develop/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/develop/Dockerfile new file mode 100644 index 000000000..a37e99dc8 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/develop/Dockerfile @@ -0,0 +1,146 @@ +FROM epicmorg/debian:squeeze +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV BuildDocker true +ENV GOPATH=/go +ENV CARGOPATH=/root/.cargo +ENV FLUTTERPATH=/flutter +ENV PATH="${FLUTTERPATH}/bin:${CARGOPATH}/bin:${GOPATH}/bin:${PATH}" +ARG BUILDS_DIR=/builds +ARG SRC_DIR=${BUILDS_DIR}/src +ARG EXPORT_DIR=${BUILDS_DIR}/export +ARG NINJA_ARCH=linux +ARG NINJA_VERSION=latest +ARG NINJA_RELEASE_URL=https://api.github.com/repos/ninja-build/ninja/releases/${NINJA_VERSION} + +################################################################## +# Files and folders +################################################################## +RUN mkdir -p ${SRC_DIR} ${EXPORT_DIR} ${PRE_DIR} + +################################################################## +# 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 \ + libsqlite3-dev \ + liblzma-dev \ + libgtk-3-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 \ + tcl \ + g++ \ + gcc \ + libc6-dev \ + make \ + pkg-config \ + golang \ + golang-go \ + python3-all-dev \ + python-dev \ + g++-multilib \ + autoconf \ + automake \ + libtool \ + gdb \ + strace + +################################################################## +# Rust compillers +################################################################## +RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --profile complete --default-toolchain stable --verbose +RUN printf "\n--------------------------------\n$(cargo --version)\n--------------------------------\n\n" + +################################################################## +# Flutter SDK +################################################################## +RUN git clone https://github.com/flutter/flutter.git -b stable /flutter +RUN flutter precache +RUN flutter config --no-analytics +RUN dart --disable-analytics +RUN printf "\n--------------------------------\n$(flutter --version)\n--------------------------------\n\n" + +################################################################## +# GO compillers +################################################################## +RUN printf "\n--------------------------------\n$(go 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/06-squeeze/develop/Makefile b/linux/ecosystem/epicmorg/debian/06-squeeze/develop/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/develop/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/develop/docker-compose.yml b/linux/ecosystem/epicmorg/debian/06-squeeze/develop/docker-compose.yml new file mode 100644 index 000000000..da4ed6f61 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/develop/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:squeeze-develop" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/main/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/main/Dockerfile index 3715cfe84..e134e675d 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/main/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/main/Dockerfile @@ -25,19 +25,19 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio cmatrix-xfont \ cron \ curl \ - clzip \ +# clzip \ cvs \ dos2unix \ ffmpeg \ fontconfig \ git \ - git-extras \ +# git-extras \ git-flow \ git-cvs \ git-doc \ git-email \ - git-mediawiki \ - git-ftp \ +# git-mediawiki \ +# git-ftp \ gnupg \ gnupg2 \ graphicsmagick \ @@ -46,10 +46,10 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio iftop \ iotop \ iperf \ - iperf3 \ +# iperf3 \ iputils-ping \ - jq \ - kmod \ +# jq \ +# kmod \ libxml2-dev \ libxml2-utils \ lbzip2 \ @@ -71,17 +71,17 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio perl \ procps \ pbzip2 \ - plzip \ +# plzip \ p7zip-full \ p7zip-rar \ python3-all \ python-all \ python-pip \ - python3-pip \ +# python3-pip \ # rclone \ rsync \ rar \ - screenfetch \ +# screenfetch \ smbclient \ subversion \ telnet \ @@ -96,8 +96,8 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio sudo \ logrotate \ subversion-tools \ - zip \ - pev + zip +# pev ################################################################## # installing fs-tools diff --git a/linux/ecosystem/epicmorg/debian/06-squeeze/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/06-squeeze/slim/Dockerfile index fcd7f85c7..91e372e25 100644 --- a/linux/ecosystem/epicmorg/debian/06-squeeze/slim/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/06-squeeze/slim/Dockerfile @@ -37,7 +37,7 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio console-cyrillic \ ca-certificates \ locales \ -# software-properties-common \ +# software-properties \ sudo RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | xargs -n1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/develop/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/develop/Dockerfile new file mode 100644 index 000000000..af1754b3d --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/develop/Dockerfile @@ -0,0 +1,146 @@ +FROM epicmorg/debian:wheezy +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV BuildDocker true +ENV GOPATH=/go +ENV CARGOPATH=/root/.cargo +ENV FLUTTERPATH=/flutter +ENV PATH="${FLUTTERPATH}/bin:${CARGOPATH}/bin:${GOPATH}/bin:${PATH}" +ARG BUILDS_DIR=/builds +ARG SRC_DIR=${BUILDS_DIR}/src +ARG EXPORT_DIR=${BUILDS_DIR}/export +ARG NINJA_ARCH=linux +ARG NINJA_VERSION=latest +ARG NINJA_RELEASE_URL=https://api.github.com/repos/ninja-build/ninja/releases/${NINJA_VERSION} + +################################################################## +# Files and folders +################################################################## +RUN mkdir -p ${SRC_DIR} ${EXPORT_DIR} ${PRE_DIR} + +################################################################## +# 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 \ + libsqlite3-dev \ + liblzma-dev \ + libgtk-3-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 \ + tcl \ + g++ \ + gcc \ + libc6-dev \ + make \ + pkg-config \ + golang \ + golang-go \ + python3-all-dev \ + python-dev \ + g++-multilib \ + autoconf \ + automake \ + libtool \ + gdb \ + strace + +################################################################## +# Rust compillers +################################################################## +RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --profile complete --default-toolchain stable --verbose +RUN printf "\n--------------------------------\n$(cargo --version)\n--------------------------------\n\n" + +################################################################## +# Flutter SDK +################################################################## +RUN git clone https://github.com/flutter/flutter.git -b stable /flutter +RUN flutter precache +RUN flutter config --no-analytics +RUN dart --disable-analytics +RUN printf "\n--------------------------------\n$(flutter --version)\n--------------------------------\n\n" + +################################################################## +# GO compillers +################################################################## +RUN printf "\n--------------------------------\n$(go 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/07-wheezy/develop/Makefile b/linux/ecosystem/epicmorg/debian/07-wheezy/develop/Makefile new file mode 100644 index 000000000..9ef622aa9 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/develop/Makefile @@ -0,0 +1,19 @@ +all: app + +app: + make build + make deploy + make clean + +build: + docker-compose build --compress --parallel --progress plain + +deploy: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/develop/docker-compose.yml b/linux/ecosystem/epicmorg/debian/07-wheezy/develop/docker-compose.yml new file mode 100644 index 000000000..59672684b --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/develop/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3.9' +services: + app: + image: "epicmorg/debian:wheezy-develop" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/main/Dockerfile b/linux/ecosystem/epicmorg/debian/07-wheezy/main/Dockerfile index 6a811e41b..a33ed5132 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/main/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/main/Dockerfile @@ -36,7 +36,7 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio git-cvs \ git-doc \ git-email \ - git-mediawiki \ +# git-mediawiki \ git-ftp \ gnupg \ gnupg2 \ @@ -46,13 +46,13 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio iftop \ iotop \ iperf \ - iperf3 \ +# iperf3 \ iputils-ping \ jq \ kmod \ libxml2-dev \ libxml2-utils \ - lbzip2 \ +# lbzip2 \ libsvn-java \ locales \ lsb-release \ diff --git a/linux/ecosystem/epicmorg/debian/07-wheezy/slim/etc/apt/sources.list b/linux/ecosystem/epicmorg/debian/07-wheezy/slim/etc/apt/sources.list index 8ee0e6d74..4b938cc57 100644 --- a/linux/ecosystem/epicmorg/debian/07-wheezy/slim/etc/apt/sources.list +++ b/linux/ecosystem/epicmorg/debian/07-wheezy/slim/etc/apt/sources.list @@ -2,9 +2,6 @@ deb http://archive.debian.org/debian/ wheezy main contrib non-free deb-src http://archive.debian.org/debian/ wheezy main contrib non-free -deb http://archive.debian.org/debian/ wheezy-kfreebsd main contrib non-free -deb-src http://archive.debian.org/debian/ wheezy-kfreebsd main contrib non-free - deb http://archive.debian.org/debian/ wheezy-backports main contrib non-free deb-src http://archive.debian.org/debian/ wheezy-backports main contrib non-free diff --git a/linux/ecosystem/epicmorg/debian/08-jessie/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/08-jessie/slim/Dockerfile index d4af18a3a..6fa4fc7f9 100644 --- a/linux/ecosystem/epicmorg/debian/08-jessie/slim/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/08-jessie/slim/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:jessie-slim +FROM debian/eol:jessie-slim LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive diff --git a/linux/ecosystem/epicmorg/debian/09-stretch/slim/Dockerfile b/linux/ecosystem/epicmorg/debian/09-stretch/slim/Dockerfile index ae35a685a..c03b7629e 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:stretch-slim +FROM debian/eol:stretch-slim LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive