Update Ubuntu docker images

- Remove no longer supported version
- Add current version

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
Thomas Lauf 2023-01-14 00:16:09 +01:00
parent 62863d0443
commit 016d3a99e7
3 changed files with 17 additions and 23 deletions

View file

@ -36,15 +36,15 @@ jobs:
- name: "OpenSUSE 15.0" - name: "OpenSUSE 15.0"
runner: ubuntu-latest runner: ubuntu-latest
container: opensuse1500 container: opensuse1500
- name: "Ubuntu 16.04"
runner: ubuntu-latest
container: ubuntu1604
- name: "Ubuntu 18.04" - name: "Ubuntu 18.04"
runner: ubuntu-latest runner: ubuntu-latest
container: ubuntu1804 container: ubuntu1804
- name: "Ubuntu 20.04" - name: "Ubuntu 20.04"
runner: ubuntu-latest runner: ubuntu-latest
container: ubuntu2004 container: ubuntu2004
- name: "Ubuntu 22.04"
runner: ubuntu-latest
container: ubuntu2204
- name: "macOS 11" - name: "macOS 11"
runner: macos-11 runner: macos-11
container: osx-11 container: osx-11

View file

@ -48,14 +48,6 @@ services:
security_opt: security_opt:
- label=type:container_runtime_t - label=type:container_runtime_t
tty: true tty: true
test-ubuntu1604:
build:
context: .
dockerfile: test/docker/ubuntu1604
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-ubuntu1804: test-ubuntu1804:
build: build:
context: . context: .
@ -72,6 +64,14 @@ services:
security_opt: security_opt:
- label=type:container_runtime_t - label=type:container_runtime_t
tty: true tty: true
test-ubuntu2204:
build:
context: .
dockerfile: test/docker/ubuntu2204
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-debianstable: test-debianstable:
build: build:
context: . context: .

View file

@ -1,28 +1,22 @@
FROM ubuntu:16.04 FROM ubuntu:22.04
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \ RUN apt-get update && yes | unminimize
apt-get install -y build-essential software-properties-common && \ RUN apt-get install -y \
add-apt-repository -y ppa:ubuntu-toolchain-r/test
RUN apt-get update && \
apt-get install -y \
asciidoctor \ asciidoctor \
cmake \ cmake \
gcc-snapshot \ g++ \
g++-6 \
git \ git \
locales \ locales \
man \ man \
man-db \
python3 \ python3 \
python3-dateutil \ python3-dateutil \
tzdata tzdata
# Setup environment # Setup environment
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 \ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10
--slave /usr/bin/g++ g++ /usr/bin/g++-6 && \
update-alternatives --config gcc && \
update-alternatives --install /usr/bin/python python /usr/bin/python3 10
RUN ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime RUN ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime
RUN dpkg-reconfigure -f noninteractive tzdata RUN dpkg-reconfigure -f noninteractive tzdata