Merge pull request #8333 from heitbaum/dockert

tools/docker: drop end of support stretch, bionic
This commit is contained in:
Christian Hewitt 2023-11-16 17:06:03 +04:00 committed by GitHub
commit bd1b8e5f0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 63 deletions

View File

@ -2,13 +2,11 @@
**Docker containers**
- Ubuntu
- bionic (Ubuntu 18.04)
- focal (Ubuntu 20.04)
- jammy (Ubuntu 22.04)
- kinetic (Ubuntu 22.10)
- lunar (Ubuntu 23.04)
- Debian
- stretch (Debian 9.0)
- buster (Debian 10.0)
- sid (Debian unstable)

View File

@ -1,30 +0,0 @@
FROM ubuntu:bionic
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get dist-upgrade -y \
&& apt-get install -y locales sudo \
&& rm -rf /var/lib/apt/lists/*
RUN locale-gen en_US.UTF-8 \
&& update-locale LANG=en_US.UTF-8 LANGUAGE=en_US:en
ENV LANG=en_US.UTF-8 \
LANGUAGE=en_US:en \
LC_ALL=en_US.UTF-8
RUN adduser --disabled-password --gecos '' docker \
&& adduser docker sudo \
&& echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
RUN apt-get update && apt-get install -y \
wget bash bc gcc sed patch patchutils tar bzip2 gzip xz-utils zstd perl gawk gperf zip unzip diffutils lzop make file \
g++ xfonts-utils xsltproc default-jre-headless python3 \
libc6-dev libncurses5-dev \
libjson-perl libxml-parser-perl libparse-yapp-perl \
golang-go \
git openssh-client \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
USER docker

View File

@ -1,31 +0,0 @@
FROM debian:stretch
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get dist-upgrade -y \
&& apt-get install -y locales sudo \
&& rm -rf /var/lib/apt/lists/*
RUN echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen \
&& locale-gen en_US.UTF-8 \
&& update-locale LANG=en_US.UTF-8 LANGUAGE=en_US:en
ENV LANG=en_US.UTF-8 \
LANGUAGE=en_US:en \
LC_ALL=en_US.UTF-8
RUN adduser --disabled-password --gecos '' docker \
&& adduser docker sudo \
&& echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
RUN apt-get update && apt-get install -y \
wget bash bc gcc sed patch patchutils tar bzip2 gzip xz-utils zstd perl gawk gperf zip unzip diffutils lzop make file \
g++ xfonts-utils xsltproc default-jre-headless python3 \
libc6-dev libncurses5-dev \
libjson-perl libxml-parser-perl libparse-yapp-perl \
golang-go \
git openssh-client \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
USER docker