This commit is contained in:
STAM 2021-07-14 02:33:49 +03:00
parent aad42f7189
commit 0afb550734
5 changed files with 89 additions and 50 deletions

View File

@ -2,6 +2,14 @@ export SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
clear clear
cd ${SCRIPTPATH}/../linux/zabbix/agent && pwd && make
cd ${SCRIPTPATH}/../linux/zabbix/java-gateway && pwd && make
cd ${SCRIPTPATH}/../linux/zabbix/proxy && pwd && make
cd ${SCRIPTPATH}/../linux/zabbix/server && pwd && make
cd ${SCRIPTPATH}/../linux/zabbix/web && pwd && make
exit 1
cd ${SCRIPTPATH}/../linux/mattermost/latest && pwd && make cd ${SCRIPTPATH}/../linux/mattermost/latest && pwd && make
cd ${SCRIPTPATH}/../linux/nextcloud/latest && pwd && make cd ${SCRIPTPATH}/../linux/nextcloud/latest && pwd && make
cd ${SCRIPTPATH}/../linux/teamcity/server && pwd && make cd ${SCRIPTPATH}/../linux/teamcity/server && pwd && make

View File

@ -1,15 +1,19 @@
export SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" export SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
clear clear
pause 3
echo "=======================================" echo "======================================="
echo "===== Building third-party images =====" echo "===== Building third-party images ====="
echo "=======================================" echo "======================================="
${SCRIPTPATH}/make-all-third-party.sh ${SCRIPTPATH}/make-all-third-party.sh
clear
pause 3
echo "=======================================" echo "======================================="
echo "===== Building EpicMorg images =====" echo "===== Building EpicMorg images ====="
echo "=======================================" echo "======================================="
${SCRIPTPATH}/.make-all-epicmorg-based.sh ${SCRIPTPATH}/make-all-epicmorg-based.sh
exit 0 exit 0

View File

@ -18,9 +18,10 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
################################################################## ##################################################################
# bullseye sources list # sid sources list
################################################################## ##################################################################
#COPY sources.bullseye.list /etc/apt/sources.list.d/sources.bullseye.list RUN rm -rfv /etc/apt/sources.list
COPY sources.sid.list /etc/apt/sources.list
RUN apt update && \ RUN apt update && \
apt autoremove -y && \ apt autoremove -y && \
apt dist-upgrade -y && \ apt dist-upgrade -y && \
@ -65,7 +66,7 @@ ENV DOTNET_CLI_TELEMETRY_OPTOUT=true
ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
# Configure Kestrel web server to bind to port 80 when present # Configure Kestrel web server to bind to port 80 when present
ENV ASPNETCORE_URLS=http://+:80 ENV ASPNETCORE_URLS=\
# Enable detection of running in a container # Enable detection of running in a container
ENV DOTNET_RUNNING_IN_CONTAINER=true ENV DOTNET_RUNNING_IN_CONTAINER=true
@ -79,6 +80,9 @@ ENV NUGET_XMLDOC_MODE=skip
#unofficial support of openssl1.1 instead of 1.0 [https://stackoverflow.com/questions/51901359] #unofficial support of openssl1.1 instead of 1.0 [https://stackoverflow.com/questions/51901359]
ENV CLR_OPENSSL_VERSION_OVERRIDE=45 ENV CLR_OPENSSL_VERSION_OVERRIDE=45
# PowerShell telemetry for docker image usage
ENV POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetSDK-Debian-10
#Install packages #Install packages
RUN curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - && \ RUN curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - && \
echo 'deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/debian/10/prod buster main' > /etc/apt/sources.list.d/microsoft.dotnet.list && \ echo 'deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/debian/10/prod buster main' > /etc/apt/sources.list.d/microsoft.dotnet.list && \
@ -92,15 +96,21 @@ RUN curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
libssl1.1 \ libssl1.1 \
libstdc++6 \ libstdc++6 \
zlib1g \ zlib1g \
dotnet-sdk-3.1 \ dotnet-sdk-5.0 \
aspnetcore-runtime-3.1 \ dotnet-targeting-pack-5.0 \
dotnet-runtime-3.1 \ dotnet-runtime-deps-5.0 \
dotnet-runtime-5.0 \
dotnet-hostfxr-5.0 \
dotnet-apphost-pack-5.0 \
dotnet-host \
powershell-preview \
powershell powershell
# Trigger .NET CLI first run experience by running arbitrary cmd to populate local package cache # Trigger .NET CLI first run experience by running arbitrary cmd to populate local package cache
RUN ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0 && \ RUN ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0 && \
ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.1 /usr/lib/x86_64-linux-gnu/libssl.so.1.0 && \ ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.1 /usr/lib/x86_64-linux-gnu/libssl.so.1.0 && \
dotnet help && \ dotnet help && \
pwsh-preview -v && \
pwsh -v pwsh -v
################################################################## ##################################################################
@ -198,7 +208,9 @@ RUN sh -c 'echo "deb https://packages.sury.org/php/ buster main" > /etc/apt/sour
RUN wget -O /etc/apt/trusted.gpg.d/apache2.gpg https://packages.sury.org/apache2/apt.gpg RUN wget -O /etc/apt/trusted.gpg.d/apache2.gpg https://packages.sury.org/apache2/apt.gpg
RUN sh -c 'echo "deb https://packages.sury.org/apache2/ buster main" > /etc/apt/sources.list.d/apache2.list' RUN sh -c 'echo "deb https://packages.sury.org/apache2/ buster main" > /etc/apt/sources.list.d/apache2.list'
#Install base packages ##################################################################
# Installing PHP7
##################################################################
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --allow-unauthenticated \ apt-get install -y --allow-unauthenticated \
libmemcached-dev \ libmemcached-dev \
@ -208,43 +220,51 @@ RUN apt-get update && \
php7.4-cli \ php7.4-cli \
php7.4-cgi \ php7.4-cgi \
php-pear \ php-pear \
php-gmp \ php7.4-gmp \
php-snmp \ php7.4-snmp \
php-ldap \ php7.4-ldap \
php-mail \ php7.4-mail \
php-soap \ php7.4-soap \
php-mysql \ php7.4-mysql \
php-memcached \ php7.4-memcached \
php-memcache \ php7.4-memcache \
php-igbinary \ php7.4-igbinary \
php-interbase \ php7.4-interbase \
php-curl \ php7.4-curl \
php-gd \ php7.4-gd \
php-intl \ php7.4-intl \
php-zip \ php7.4-zip \
php-bcmath \ php7.4-bcmath \
php-imap \ php7.4-imap \
php-pspell \ php7.4-pspell \
php-sqlite3 \ php7.4-sqlite3 \
php-tidy \ php7.4-tidy \
php-xmlrpc \ php7.4-xmlrpc \
php-xml \ php7.4-xml \
php-mbstring \ php7.4-mbstring \
php-apcu \ php7.4-apcu \
php-common \ php7.4-common \
php-json \ php7.4-json \
php-readline \ php7.4-readline \
php-enchant \ php7.4-enchant \
php-ssh2 \ php7.4-ssh2 \
php-oauth \ php7.4-oauth \
php-gmagick \ php7.4-gmagick \
php-gnupg \ php7.4-gnupg \
php-redis \ php7.4-redis \
php-smbclient \ smbclient libsmbclient \
php-yaml \ php7.4-yaml \
php-geoip \ php7.4-geoip \
sendmail && \ sendmail && \
phpenmod \ ln -sf /etc/ssl/dhparam.pem /etc/php/dhparam.pem && \
update-alternatives --set php /usr/bin/php7.4 && \
php -m && \
php -v
##################################################################
# Enabling extensions
##################################################################
RUN phpenmod \
snmp \ snmp \
gmp \ gmp \
calendar \ calendar \
@ -281,7 +301,6 @@ RUN apt-get update && \
xmlwriter \ xmlwriter \
xsl \ xsl \
yaml && \ yaml && \
ln -sf /etc/ssl/dhparam.pem /etc/php/dhparam.pem && \
php -m && \ php -m && \
php -v php -v
@ -322,13 +341,14 @@ RUN cd /tmp && \
################################################################## ##################################################################
# Node.js 15.x # Node.js 16.x
################################################################## ##################################################################
RUN curl -sL https://deb.nodesource.com/setup_15.x | bash - && \ RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
apt-get update && \ apt-get update && \
apt-get install -y nodejs yarn apt-get install -y nodejs yarn && \
npm install -g npm@7.19.1
################################################################## ##################################################################
# steam runtime and ssdk # steam runtime and ssdk

View File

@ -0,0 +1,7 @@
#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
##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

@ -11,9 +11,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
################################################################## ##################################################################
# Node.js 14.x # Node.js 16.x
################################################################## ##################################################################
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \ RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
apt-get update && \ apt-get update && \