This commit is contained in:
STAM 2020-08-17 15:33:50 +03:00
parent 889f6e9d67
commit 7dc324578d
59 changed files with 400 additions and 0 deletions

View File

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

View File

@ -0,0 +1,24 @@
FROM epicmorg/devel
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/ buster 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
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

@ -0,0 +1,5 @@
all: emgdev
emgdev:
docker build --compress -t epicmorg/devel:jdk11 .
docker push epicmorg/devel:jdk11

View File

@ -0,0 +1,20 @@
FROM epicmorg/devel
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
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

@ -0,0 +1,5 @@
all: emgprod
emgprod:
docker build --compress -t epicmorg/devel:jdk6 .
docker push epicmorg/devel:jdk6

View File

@ -0,0 +1,20 @@
FROM epicmorg/devel
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
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

@ -0,0 +1,5 @@
all: emgprod
emgprod:
docker build --compress -t epicmorg/devel:jdk7 .
docker push epicmorg/devel:jdk7

View File

@ -0,0 +1,21 @@
FROM epicmorg/devel
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/ buster 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
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

@ -0,0 +1,5 @@
all: emgdev
emgdev:
docker build --compress -t epicmorg/devel:jdk8 .
docker push epicmorg/devel:jdk8

View File

@ -0,0 +1,96 @@
FROM epicmorg/edge
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
##################################################################
# Files and folders
##################################################################
RUN mkdir -p ${SRC_DIR} ${EXPORT_DIR} ${PRE_DIR}
##################################################################
# sid sources list
##################################################################
RUN apt update && \
apt-get autoremove -y && \
apt dist-upgrade -y
##################################################################
# deps
##################################################################
RUN apt-get update && \
apt install -y --allow-unauthenticated --allow-downgrades \
build-essential \
gcc-multilib \
g++-multilib \
libxkbcommon-dev \
zlib1g-dev \
libfreetype6-dev \
libegl1-mesa-dev \
libgles2-mesa-dev \
libgbm-dev \
nvidia-cg-toolkit \
nvidia-cg-dev \
libavcodec-dev \
libsdl2-dev \
libsdl-image1.2-dev \
libxml2-dev yasm \
devscripts \
autoconf \
automake \
libtool \
autotools-dev \
dpkg-dev \
fakeroot \
checkinstall \
dh-make \
zlib1g \
zlib1g-dev \
libssl-dev \
libxml2-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
##################################################################
# other customisations
##################################################################
##################################################################
# cleaninig up
##################################################################
RUN apt purge policykit-1 -y && \
apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

@ -0,0 +1,5 @@
all: emgdev
emgdev:
docker build --compress -t epicmorg/devel .
docker push epicmorg/devel

View File

@ -0,0 +1,24 @@
FROM epicmorg/edge
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/ buster 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
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

@ -0,0 +1,5 @@
all: emgdev
emgdev:
docker build --compress -t epicmorg/edge:jdk11 .
docker push epicmorg/edge:jdk11

View File

@ -0,0 +1,20 @@
FROM epicmorg/edge
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
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

@ -0,0 +1,5 @@
all: emgprod
emgprod:
docker build --compress -t epicmorg/edge:jdk6 .
docker push epicmorg/edge:jdk6

View File

@ -0,0 +1,20 @@
FROM epicmorg/edge
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
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

@ -0,0 +1,5 @@
all: emgprod
emgprod:
docker build --compress -t epicmorg/edge:jdk7 .
docker push epicmorg/edge:jdk7

View File

@ -0,0 +1,21 @@
FROM epicmorg/edge
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/ buster 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
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

@ -0,0 +1,5 @@
all: emgdev
emgdev:
docker build --compress -t epicmorg/edge:jdk8 .
docker push epicmorg/edge:jdk8

View File

@ -0,0 +1,22 @@
FROM epicmorg/prod
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# sid sources list
##################################################################
RUN rm /etc/apt/sources.list
COPY sources.list /etc/apt/sources.list
RUN apt update && \
apt autoremove -y && \
apt dist-upgrade -y && \
apt autoremove -y
##################################################################
# cleaninig up
##################################################################
RUN apt purge policykit-1 -y && \
apt clean -y && \
apt autoclean -y && \
rm -rfv /var/lib/apt/lists/* && \
rm -rfv /var/cache/apt/archives/*.deb

View File

@ -0,0 +1,5 @@
all: emgdev
emgdev:
docker build --compress -t epicmorg/edge .
docker push epicmorg/edge

View File

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

View File

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

View File

@ -183,6 +183,7 @@ RUN apt-get update && \
php-ldap \
php-mail \
# php-mailparse \
php-interbase \
php-soap \
php-mysql \
php-memcached \
@ -217,6 +218,7 @@ RUN apt-get update && \
sendmail && \
phpenmod \
snmp \
interbase \
gmp \
calendar \
ldap \
@ -266,6 +268,9 @@ RUN cd /tmp && \
composer global require elendev/nexus-composer-push && \
composer
RUN sudo apt purge libpython2* -y
RUN sudo apt install python2-minimal -y
##################################################################
# Node.js 12.x
##################################################################