mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-27 15:15:42 +03:00
147 lines
4.7 KiB
Docker
147 lines
4.7 KiB
Docker
################################################################################
|
|
# https://github.com/linuxserver/docker-code-server/pkgs/container/code-server
|
|
################################################################################
|
|
FROM ghcr.io/linuxserver/code-server:latest
|
|
|
|
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
|
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"
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
USER root
|
|
|
|
##################################################################
|
|
# ARGuments
|
|
##################################################################
|
|
ENV BuildDocker true
|
|
|
|
##################################################################
|
|
# 7z official binary
|
|
##################################################################
|
|
ENV SZ_VERSION=7z2107
|
|
ENV SZ_DOWNLOAD_URL=https://www.7-zip.org/a/${SZ_VERSION}-linux-x64.tar.xz
|
|
|
|
##################################################################
|
|
# installing utils
|
|
##################################################################
|
|
# libzip4 \
|
|
# lbzip2 \
|
|
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
|
|
apt-get update && \
|
|
apt-get install -y --allow-unauthenticated \
|
|
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 && \
|
|
sudo apt update && \
|
|
sudo apt install -y --allow-unauthenticated gh && \
|
|
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
|