mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-29 16:15:45 +03:00
81 lines
3.5 KiB
Docker
81 lines
3.5 KiB
Docker
FROM debian:buster-slim
|
|
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
|
|
|
|
##################################################################
|
|
# prepare system
|
|
##################################################################
|
|
RUN for i in $(seq 1 8); do mkdir -p "/usr/share/man/man${i}"; done
|
|
|
|
##################################################################
|
|
# sources list
|
|
##################################################################
|
|
RUN rm -rfv /etc/apt/sources.list
|
|
RUN rm -rfv /etc/locale.gen
|
|
|
|
COPY etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg /etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg
|
|
COPY etc/apt/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until
|
|
COPY etc/apt/apt.conf.d/98-allow-unauthenticated /etc/apt/apt.conf.d/98-allow-unauthenticated
|
|
COPY etc/apt/apt.conf.d/97-allow-cert-exp /etc/apt/apt.conf.d/97-allow-cert-exp
|
|
COPY etc/apt/apt.conf.d/96-apt-retries /etc/apt/apt.conf.d/96-apt-retries
|
|
COPY etc/apt/sources.list /etc/apt/sources.list
|
|
COPY etc/locale.gen /etc/locale.gen
|
|
|
|
RUN mkdir -p /etc/apt/keyrings
|
|
RUN apt-get update && \
|
|
apt-get upgrade -y && \
|
|
apt-get dist-upgrade -y
|
|
|
|
##################################################################
|
|
# installing utils
|
|
##################################################################
|
|
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
|
|
apt-get install -y --allow-unauthenticated \
|
|
apt-transport-https \
|
|
apt-utils \
|
|
gnupg \
|
|
gnupg1 \
|
|
gnupg2 \
|
|
aptitude \
|
|
bash \
|
|
binutils \
|
|
console-cyrillic \
|
|
ca-certificates \
|
|
locales \
|
|
software-properties-common \
|
|
sudo
|
|
|
|
RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys
|
|
RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | xargs -n1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
|
|
|
|
RUN update-ca-certificates
|
|
|
|
##################################################################
|
|
# update locales
|
|
##################################################################
|
|
RUN locale-gen
|
|
|
|
##################################################################
|
|
# cleanup
|
|
##################################################################
|
|
RUN apt-get purge policykit-1 -y && \
|
|
apt-get clean -y && \
|
|
apt-get autoclean -y && \
|
|
rm -rfv /var/lib/apt/lists/* && \
|
|
rm -rfv /tmp/* && \
|
|
rm -rfv /var/cache/apt/archives/*.deb
|