2021-11-20 00:43:03 +03:00
|
|
|
################################################################################
|
|
|
|
# https://github.com/linuxserver/docker-code-server/pkgs/container/code-server
|
|
|
|
################################################################################
|
2022-05-07 03:21:07 +03:00
|
|
|
FROM ghcr.io/linuxserver/code-server:latest
|
2021-11-20 00:43:03 +03:00
|
|
|
|
|
|
|
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
2023-06-08 20:53:22 +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"
|
|
|
|
|
2021-11-20 00:43:03 +03:00
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
USER root
|
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# ARGuments
|
|
|
|
##################################################################
|
|
|
|
ENV BuildDocker true
|
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# 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
|
2021-11-20 00:43:03 +03:00
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# installing utils
|
|
|
|
##################################################################
|
|
|
|
# libzip4 \
|
|
|
|
# lbzip2 \
|
|
|
|
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 \
|
2021-11-20 00:43:03 +03:00
|
|
|
apt-transport-https \
|
|
|
|
apt-utils \
|
|
|
|
aptitude \
|
|
|
|
bash \
|
|
|
|
binutils \
|
|
|
|
bzip2 \
|
|
|
|
ca-certificates \
|
|
|
|
cmatrix \
|
|
|
|
cmatrix-xfont \
|
|
|
|
console-cyrillic \
|
|
|
|
cron \
|
|
|
|
curl \
|
|
|
|
clzip \
|
|
|
|
dos2unix \
|
|
|
|
ffmpeg \
|
|
|
|
fontconfig \
|
|
|
|
git \
|
|
|
|
gnupg \
|
|
|
|
gnupg2 \
|
|
|
|
graphicsmagick \
|
|
|
|
gzip \
|
|
|
|
htop \
|
|
|
|
iftop \
|
|
|
|
iputils-ping \
|
|
|
|
jq \
|
|
|
|
kmod \
|
|
|
|
libxml2-dev \
|
|
|
|
libxml2-utils \
|
|
|
|
libsvn-java \
|
|
|
|
locales \
|
|
|
|
lsb-release \
|
|
|
|
lsof \
|
|
|
|
lynx \
|
|
|
|
lzma \
|
|
|
|
lzip \
|
|
|
|
lzop \
|
|
|
|
mc \
|
|
|
|
mercurial \
|
|
|
|
nano \
|
|
|
|
nload \
|
|
|
|
nmap \
|
|
|
|
openssl \
|
|
|
|
perl \
|
|
|
|
procps \
|
|
|
|
pbzip2 \
|
|
|
|
plzip \
|
|
|
|
p7zip-full \
|
|
|
|
p7zip-rar \
|
|
|
|
rsync \
|
|
|
|
rar \
|
|
|
|
screenfetch \
|
|
|
|
smbclient \
|
|
|
|
software-properties-common \
|
|
|
|
subversion \
|
|
|
|
sudo \
|
|
|
|
telnet \
|
|
|
|
tini \
|
|
|
|
tmux \
|
|
|
|
tree \
|
|
|
|
util-linux \
|
|
|
|
uuid-runtime \
|
|
|
|
unrar \
|
|
|
|
xz-utils \
|
|
|
|
wget \
|
|
|
|
zip
|
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# Install 7z official binary
|
|
|
|
##################################################################
|
|
|
|
RUN wget -nv --random-wait -c -O /tmp/7z.tar.xz ${SZ_DOWNLOAD_URL} && \
|
|
|
|
mkdir -p /tmp/7z && \
|
|
|
|
tar -xf /tmp/7z.tar.xz -C /tmp/7z && \
|
|
|
|
chmod +x /tmp/7z/7zz && \
|
|
|
|
mv -fv /tmp/7z/7zz /usr/bin/ && \
|
|
|
|
7zz | head -4 && \
|
|
|
|
7z | head -4
|
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# Install GitHub CLI binary
|
|
|
|
##################################################################
|
|
|
|
RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg && \
|
|
|
|
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null && \
|
2024-07-18 16:29:06 +03:00
|
|
|
sudo apt-get update && \
|
|
|
|
sudo apt-get install -y --allow-unauthenticated gh && \
|
2021-11-20 00:43:03 +03:00
|
|
|
gh --version
|
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# cleaninig up
|
|
|
|
##################################################################
|
|
|
|
RUN apt purge policykit-1 -y && \
|
|
|
|
apt clean -y && \
|
|
|
|
apt autoclean -y && \
|
|
|
|
rm -rfv /var/lib/apt/lists/* && \
|
|
|
|
rm -rfv /tmp/mc.patch && \
|
|
|
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
|
|
|
rm -rfv /tmp/7z && \
|
|
|
|
rm -rfv /tmp/deb/* && \
|
|
|
|
rm -rfv /tmp/composer-setup.php && \
|
|
|
|
rm -rfv /tmp/amxx_base_latest.tar.gz && \
|
|
|
|
rm -rfv /tmp/atlassian-plugin-sdk.deb && \
|
|
|
|
rm -rfv /tmp/addons
|