docker-scripts/linux/ecosystem/epicmorg/debian/08-jessie/slim/Dockerfile

63 lines
2.2 KiB
Docker
Raw Normal View History

2022-05-04 23:50:10 +03:00
FROM debian:jessie-slim
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
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
2022-05-06 01:06:22 +03:00
COPY etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg /etc/apt/trusted.gpg.d/deb-multimedia-keyring.gpg
2022-05-04 23:50:10 +03:00
COPY etc/apt/apt.conf.d/99-no-check-valid-until /etc/apt/apt.conf.d/99-no-check-valid-until
COPY etc/apt/sources.list /etc/apt/sources.list
COPY etc/locale.gen.full /etc/locale.gen
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 \
aptitude \
bash \
binutils \
2022-05-06 01:06:22 +03:00
gnupg \
gnupg2 \
2022-05-04 23:50:10 +03:00
console-cyrillic \
ca-certificates \
locales \
software-properties-common \
sudo
2022-05-06 01:06:22 +03:00
RUN apt-key list | grep "expired: " | sed -ne 's|pub .*/\([^ ]*\) .*|\1|gp' | xargs -n1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
RUN apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys
2022-05-06 02:08:20 +03:00
RUN update-ca-certificates
2022-05-04 23:50:10 +03:00
##################################################################
# 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