mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-24 13:45:32 +03:00
fixes
This commit is contained in:
parent
aad42f7189
commit
0afb550734
@ -2,6 +2,14 @@ export SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||
|
||||
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/nextcloud/latest && pwd && make
|
||||
cd ${SCRIPTPATH}/../linux/teamcity/server && pwd && make
|
||||
|
@ -1,15 +1,19 @@
|
||||
export SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||
|
||||
clear
|
||||
pause 3
|
||||
|
||||
echo "======================================="
|
||||
echo "===== Building third-party images ====="
|
||||
echo "======================================="
|
||||
${SCRIPTPATH}/make-all-third-party.sh
|
||||
|
||||
clear
|
||||
pause 3
|
||||
|
||||
echo "======================================="
|
||||
echo "===== Building EpicMorg images ====="
|
||||
echo "======================================="
|
||||
${SCRIPTPATH}/.make-all-epicmorg-based.sh
|
||||
${SCRIPTPATH}/make-all-epicmorg-based.sh
|
||||
|
||||
exit 0
|
||||
|
@ -18,9 +18,10 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||||
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 && \
|
||||
apt autoremove -y && \
|
||||
apt dist-upgrade -y && \
|
||||
@ -65,7 +66,7 @@ ENV DOTNET_CLI_TELEMETRY_OPTOUT=true
|
||||
ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
|
||||
|
||||
# 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
|
||||
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]
|
||||
ENV CLR_OPENSSL_VERSION_OVERRIDE=45
|
||||
|
||||
# PowerShell telemetry for docker image usage
|
||||
ENV POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetSDK-Debian-10
|
||||
|
||||
#Install packages
|
||||
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 && \
|
||||
@ -92,15 +96,21 @@ RUN curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
|
||||
libssl1.1 \
|
||||
libstdc++6 \
|
||||
zlib1g \
|
||||
dotnet-sdk-3.1 \
|
||||
aspnetcore-runtime-3.1 \
|
||||
dotnet-runtime-3.1 \
|
||||
dotnet-sdk-5.0 \
|
||||
dotnet-targeting-pack-5.0 \
|
||||
dotnet-runtime-deps-5.0 \
|
||||
dotnet-runtime-5.0 \
|
||||
dotnet-hostfxr-5.0 \
|
||||
dotnet-apphost-pack-5.0 \
|
||||
dotnet-host \
|
||||
powershell-preview \
|
||||
powershell
|
||||
|
||||
# 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 && \
|
||||
ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.1 /usr/lib/x86_64-linux-gnu/libssl.so.1.0 && \
|
||||
dotnet help && \
|
||||
pwsh-preview -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 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 && \
|
||||
apt-get install -y --allow-unauthenticated \
|
||||
libmemcached-dev \
|
||||
@ -208,43 +220,51 @@ RUN apt-get update && \
|
||||
php7.4-cli \
|
||||
php7.4-cgi \
|
||||
php-pear \
|
||||
php-gmp \
|
||||
php-snmp \
|
||||
php-ldap \
|
||||
php-mail \
|
||||
php-soap \
|
||||
php-mysql \
|
||||
php-memcached \
|
||||
php-memcache \
|
||||
php-igbinary \
|
||||
php-interbase \
|
||||
php-curl \
|
||||
php-gd \
|
||||
php-intl \
|
||||
php-zip \
|
||||
php-bcmath \
|
||||
php-imap \
|
||||
php-pspell \
|
||||
php-sqlite3 \
|
||||
php-tidy \
|
||||
php-xmlrpc \
|
||||
php-xml \
|
||||
php-mbstring \
|
||||
php-apcu \
|
||||
php-common \
|
||||
php-json \
|
||||
php-readline \
|
||||
php-enchant \
|
||||
php-ssh2 \
|
||||
php-oauth \
|
||||
php-gmagick \
|
||||
php-gnupg \
|
||||
php-redis \
|
||||
php-smbclient \
|
||||
php-yaml \
|
||||
php-geoip \
|
||||
php7.4-gmp \
|
||||
php7.4-snmp \
|
||||
php7.4-ldap \
|
||||
php7.4-mail \
|
||||
php7.4-soap \
|
||||
php7.4-mysql \
|
||||
php7.4-memcached \
|
||||
php7.4-memcache \
|
||||
php7.4-igbinary \
|
||||
php7.4-interbase \
|
||||
php7.4-curl \
|
||||
php7.4-gd \
|
||||
php7.4-intl \
|
||||
php7.4-zip \
|
||||
php7.4-bcmath \
|
||||
php7.4-imap \
|
||||
php7.4-pspell \
|
||||
php7.4-sqlite3 \
|
||||
php7.4-tidy \
|
||||
php7.4-xmlrpc \
|
||||
php7.4-xml \
|
||||
php7.4-mbstring \
|
||||
php7.4-apcu \
|
||||
php7.4-common \
|
||||
php7.4-json \
|
||||
php7.4-readline \
|
||||
php7.4-enchant \
|
||||
php7.4-ssh2 \
|
||||
php7.4-oauth \
|
||||
php7.4-gmagick \
|
||||
php7.4-gnupg \
|
||||
php7.4-redis \
|
||||
smbclient libsmbclient \
|
||||
php7.4-yaml \
|
||||
php7.4-geoip \
|
||||
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 \
|
||||
gmp \
|
||||
calendar \
|
||||
@ -281,7 +301,6 @@ RUN apt-get update && \
|
||||
xmlwriter \
|
||||
xsl \
|
||||
yaml && \
|
||||
ln -sf /etc/ssl/dhparam.pem /etc/php/dhparam.pem && \
|
||||
php -m && \
|
||||
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 - && \
|
||||
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
||||
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
|
||||
|
7
linux/teamcity/agent/sources.sid.list
Normal file
7
linux/teamcity/agent/sources.sid.list
Normal 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
|
@ -11,9 +11,9 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||||
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 - && \
|
||||
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
||||
apt-get update && \
|
||||
|
Loading…
Reference in New Issue
Block a user