2020-11-24 16:19:52 +03:00
|
|
|
FROM jetbrains/teamcity-server
|
|
|
|
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
2023-06-08 00:53:17 +03:00
|
|
|
LABEL org.opencontainers.image.vendor="EpicMorg DevTeam, developer@epicm.org"
|
|
|
|
LABEL org.opencontainers.image.authors="STAM, kasthack, Aleks-Z"
|
|
|
|
LABEL org.opencontainers.image.source="https://github.com/EpicMorg/docker"
|
|
|
|
LABEL org.opencontainers.image.url="https://github.com/EpicMorg/docker"
|
|
|
|
LABEL donate.crypto.TON="EQDvHXRK-K1ZieJhgTD9JZQk7xCnWzRbctYnUkWq1lZq1bUg"
|
|
|
|
LABEL donate.crypto.ETH="0x26a8443a694f08cdfec966aa6fd72c45068753ec"
|
|
|
|
LABEL donate.crypto.BTC="bc1querz8ug9asjmsuy6yn4a94a2athgprnu7e5zq2"
|
|
|
|
LABEL donate.crypto.LTC="ltc1qtwwacq8f0n76fer2y83wxu540hddnmf8cdrlvg"
|
|
|
|
LABEL donate.crypto.NVC="4SbMynYETyhmKdggu8f38ULU6yQKiJPuo6"
|
|
|
|
LABEL donate.crypto.DOGE="DHyfE1CZzWtyaQiaMmv6g4KvXVQRUgrYE6"
|
|
|
|
LABEL donate.crypto.PPC="pQWArPzYoLppNe7ew3QPfto1k1eq66BYUB"
|
|
|
|
LABEL donate.crypto.RVN="R9t2LKeLhDSZBKNgUzSDZAossA3UqNvbV3"
|
|
|
|
LABEL donate.crypto.ZEC="t1KRMMmwMSZth8vJcd2ZHtPEFKTQ74yVixE"
|
|
|
|
LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4wQxoVfEJoW7LBhdQMP9cFhZQpJr6xvg7esHLdCbb1"
|
2020-11-24 16:19:52 +03:00
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
2020-12-26 02:07:35 +03:00
|
|
|
USER root
|
2020-11-24 16:19:52 +03:00
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# editing sources list
|
|
|
|
##################################################################
|
|
|
|
COPY sources.list /etc/apt/sources.list
|
|
|
|
COPY locale.gen /etc/locale.gen
|
|
|
|
|
2024-02-09 13:47:59 +03:00
|
|
|
##################################################################
|
|
|
|
# 7z official binary
|
|
|
|
##################################################################
|
2024-06-23 20:48:58 +03:00
|
|
|
ARG SZ_VERSION=7z2407
|
2024-02-09 13:47:59 +03:00
|
|
|
ARG SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
|
2024-06-23 20:48:58 +03:00
|
|
|
ARG SZ_TEMP=/tmp/${SZ_VERSION}-linux-x64.tar.xz
|
2024-02-09 13:47:59 +03:00
|
|
|
|
2020-11-24 16:19:52 +03:00
|
|
|
##################################################################
|
|
|
|
# perforce client binary
|
|
|
|
##################################################################
|
2022-05-09 23:34:23 +03:00
|
|
|
ARG P4_VERSION=r21.2
|
2020-11-24 16:19:52 +03:00
|
|
|
ARG P4_DOWNLOAD_URL=http://www.perforce.com/downloads/perforce/${P4_VERSION}/bin.linux26x86_64/p4
|
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# installing utils
|
|
|
|
##################################################################
|
|
|
|
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
|
|
|
|
apt-get update && \
|
2024-07-18 16:29:06 +03:00
|
|
|
apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests \
|
2020-11-24 16:19:52 +03:00
|
|
|
apt-transport-https \
|
|
|
|
apt-utils \
|
|
|
|
bash \
|
|
|
|
binutils \
|
|
|
|
ca-certificates \
|
|
|
|
cmatrix \
|
|
|
|
cmatrix-xfont \
|
|
|
|
console-cyrillic \
|
|
|
|
cron \
|
|
|
|
curl \
|
|
|
|
git \
|
|
|
|
gnupg \
|
|
|
|
gnupg2 \
|
|
|
|
htop \
|
|
|
|
iftop \
|
|
|
|
iputils-ping \
|
|
|
|
jq \
|
|
|
|
kmod \
|
|
|
|
locales \
|
|
|
|
lsb-release \
|
|
|
|
lsof \
|
|
|
|
lynx \
|
|
|
|
mc \
|
|
|
|
mercurial \
|
|
|
|
nano \
|
|
|
|
nload \
|
|
|
|
nmap \
|
|
|
|
openssl \
|
|
|
|
perl \
|
|
|
|
procps \
|
|
|
|
rsync \
|
|
|
|
screenfetch \
|
|
|
|
smbclient \
|
|
|
|
software-properties-common \
|
|
|
|
subversion \
|
|
|
|
sudo \
|
|
|
|
telnet \
|
|
|
|
tini \
|
|
|
|
tmux \
|
|
|
|
tree \
|
|
|
|
util-linux \
|
|
|
|
uuid-runtime \
|
|
|
|
wget \
|
2022-05-09 23:34:23 +03:00
|
|
|
zip
|
|
|
|
|
2024-02-09 13:47:59 +03:00
|
|
|
##################################################################
|
|
|
|
# Install 7z official binary
|
|
|
|
##################################################################
|
2024-06-23 20:48:58 +03:00
|
|
|
ADD ${SZ_DOWNLOAD_URL} /tmp
|
|
|
|
RUN mkdir -p /usr/local/7z-${SZ_VERSION} && \
|
|
|
|
tar -xf ${SZ_TEMP} --directory /usr/local/7z-${SZ_VERSION} && \
|
|
|
|
chmod +x -R /usr/local/7z-${SZ_VERSION}&& \
|
|
|
|
ln -sfv /usr/local/7z-${SZ_VERSION}/7zz /usr/local/bin/7zz && \
|
|
|
|
ln -sfv /usr/local/7z-${SZ_VERSION}/7zzs /usr/local/bin/7zzs && \
|
2024-02-09 13:47:59 +03:00
|
|
|
7zz | head -4 && \
|
|
|
|
7z | head -4
|
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# Additional settings
|
|
|
|
##################################################################
|
2024-06-23 20:48:58 +03:00
|
|
|
ENV MAVEN_VERSION=3.9.8
|
2024-02-09 13:47:59 +03:00
|
|
|
ENV MAVEN_LINK=https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip
|
2024-06-23 20:48:58 +03:00
|
|
|
ENV MAVEN_ROOT=/usr/local/maven
|
2024-02-09 13:47:59 +03:00
|
|
|
ENV MAVEN_PATH=${MAVEN_ROOT}/apache-maven-${MAVEN_VERSION}
|
|
|
|
ENV MAVEN_BIN=${MAVEN_PATH}/bin
|
2024-06-23 01:33:00 +03:00
|
|
|
ARG MAVEN_TEMP=/tmp/apache-maven-${MAVEN_VERSION}-bin.zip
|
2024-02-09 13:47:59 +03:00
|
|
|
|
2024-06-23 20:48:58 +03:00
|
|
|
ENV GRADLE_VERSION=8.8
|
2024-02-09 13:47:59 +03:00
|
|
|
ENV GRADLE_LINK=https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip
|
2024-06-23 20:48:58 +03:00
|
|
|
ENV GRADLE_ROOT=/usr/local/gradle
|
2024-02-09 13:47:59 +03:00
|
|
|
ENV GRADLE_PATH=${GRADLE_ROOT}/gradle-${GRADLE_VERSION}
|
|
|
|
ENV GRADLE_BIN=${GRADLE_PATH}/bin
|
2024-06-23 01:33:00 +03:00
|
|
|
ARG GRADLE_TEMP=/tmp/gradle-${GRADLE_VERSION}-all.zip
|
2024-02-09 13:47:59 +03:00
|
|
|
|
2024-06-23 20:48:58 +03:00
|
|
|
ENV KTC_VERSION=2.0.0
|
2024-02-09 13:47:59 +03:00
|
|
|
ENV KTC_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KTC_VERSION}/kotlin-compiler-${KTC_VERSION}.zip
|
2024-06-23 01:33:00 +03:00
|
|
|
ARG KTC_TEMP=/tmp/kotlin-compiler-${KTC_VERSION}.zip
|
2024-06-23 20:48:58 +03:00
|
|
|
ENV KTC_ROOT=/usr/local/kotlin
|
2024-02-09 13:47:59 +03:00
|
|
|
ENV KTC_PATH=${KTC_ROOT}/kotlinc
|
|
|
|
ENV KTC_BIN=${KTC_PATH}/bin
|
|
|
|
|
2024-06-23 20:48:58 +03:00
|
|
|
ENV KNPL_VERSION=${KTC_VERSION}
|
|
|
|
ENV KNPL_LINK=https://github.com/JetBrains/kotlin/releases/download/v${KNPL_VERSION}/kotlin-native-prebuilt-linux-x86_64-${KNPL_VERSION}.tar.gz
|
|
|
|
ARG KNPL_TEMP=/tmp/kotlin-native-prebuilt-linux-x86_64-${KNPL_VERSION}.tar.gz
|
|
|
|
ENV KNPL_ROOT=/usr/local/kotlin
|
|
|
|
ENV KNPL_PATH=${KNPL_ROOT}/kotlin-native-prebuilt-linux-x86_64-${KNPL_VERSION}
|
|
|
|
ENV KNPL_BIN=${KNPL_PATH}/bin
|
|
|
|
|
|
|
|
RUN mkdir -p ${MAVEN_PATH} ${KTC_PATH} ${KNPL_PATH} ${GRADLE_PATH}
|
|
|
|
ENV PATH=${PATH}:${MAVEN_BIN}:${GRADLE_BIN}:${KTC_BIN}:${KNPL_BIN}
|
2024-02-09 13:47:59 +03:00
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# Maven
|
|
|
|
##################################################################
|
|
|
|
ENV MAVEN_HOME=${MAVEN_ROOT}
|
|
|
|
ENV M2_HOME=${MAVEN_ROOT}
|
|
|
|
|
2024-06-23 01:33:00 +03:00
|
|
|
ADD ${MAVEN_LINK} /tmp
|
2024-02-09 13:47:59 +03:00
|
|
|
RUN 7zz x ${MAVEN_TEMP} -o${MAVEN_ROOT}
|
|
|
|
RUN chmod +x -R ${MAVEN_BIN}
|
|
|
|
RUN mvn -v
|
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# GRADLE
|
|
|
|
##################################################################
|
2024-06-23 01:33:00 +03:00
|
|
|
ADD ${GRADLE_LINK} /tmp
|
2024-02-09 13:47:59 +03:00
|
|
|
RUN 7zz x ${GRADLE_TEMP} -o${GRADLE_ROOT}
|
|
|
|
RUN chmod +x -R ${GRADLE_BIN}
|
|
|
|
RUN gradle -v
|
|
|
|
|
|
|
|
##################################################################
|
2024-06-23 20:48:58 +03:00
|
|
|
# kotlin-compiler
|
2024-02-09 13:47:59 +03:00
|
|
|
##################################################################
|
2024-06-23 01:33:00 +03:00
|
|
|
ADD ${KTC_LINK} /tmp
|
2024-06-23 20:48:58 +03:00
|
|
|
RUN 7zz x ${KTC_TEMP} -o${KTC_ROOT}
|
2024-02-09 13:47:59 +03:00
|
|
|
RUN chmod +x -R ${KTC_BIN}
|
|
|
|
RUN kotlin -version
|
|
|
|
|
2024-06-23 20:48:58 +03:00
|
|
|
##################################################################
|
|
|
|
# kotlin-native-prebuilt-linux
|
|
|
|
##################################################################
|
|
|
|
ADD ${KNPL_LINK} /tmp
|
|
|
|
RUN tar -xvzf ${KNPL_TEMP} --directory ${KTC_ROOT}
|
|
|
|
RUN chmod +x -R ${KNPL_BIN}
|
|
|
|
|
2022-05-09 23:34:23 +03:00
|
|
|
##################################################################
|
|
|
|
# Install p4client
|
|
|
|
##################################################################
|
2024-06-23 20:48:58 +03:00
|
|
|
ADD ${P4_DOWNLOAD_URL} /usr/local/bin
|
|
|
|
RUN chmod +x /usr/local/bin/p4
|