0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-09-18 19:35:20 +00:00

CI: Package build for more platforms

.gitlab-ci.yml:
+ pkg targets for some distros added
+ artifacts added
- some distros were commented out (due to errors).

misc/docker/*:
+ Dockerfiles updated with the necessary packages.
This commit is contained in:
Matous Holinka 2021-05-19 19:10:09 +02:00 committed by Ondrej Zajicek (work)
parent 98ef34c0c7
commit 0c4dca7ffd
29 changed files with 398 additions and 156 deletions

View File

@ -67,20 +67,22 @@ docker_debian-11-amd64:
IMG_NAME: "debian-11-amd64" IMG_NAME: "debian-11-amd64"
<<: *docker_build <<: *docker_build
docker_debian-11-i386: # GPG error
variables: #docker_debian-11-i386:
IMG_NAME: "debian-11-i386" # variables:
<<: *docker_build # IMG_NAME: "debian-11-i386"
# <<: *docker_build
docker_debian-testing-amd64: docker_debian-testing-amd64:
variables: variables:
IMG_NAME: "debian-testing-amd64" IMG_NAME: "debian-testing-amd64"
<<: *docker_build <<: *docker_build
docker_debian-testing-i386: # GPG error
variables: #docker_debian-testing-i386:
IMG_NAME: "debian-testing-i386" # variables:
<<: *docker_build # IMG_NAME: "debian-testing-i386"
# <<: *docker_build
docker_fedora-25-amd64: docker_fedora-25-amd64:
variables: variables:
@ -146,17 +148,17 @@ docker_ubuntu-14_04-amd64:
variables: variables:
IMG_NAME: "ubuntu-14.04-amd64" IMG_NAME: "ubuntu-14.04-amd64"
<<: *docker_build <<: *docker_build
docker_ubuntu-16_04-amd64: docker_ubuntu-16_04-amd64:
variables: variables:
IMG_NAME: "ubuntu-16.04-amd64" IMG_NAME: "ubuntu-16.04-amd64"
<<: *docker_build <<: *docker_build
docker_ubuntu-18_04-amd64: docker_ubuntu-18_04-amd64:
variables: variables:
IMG_NAME: "ubuntu-18.04-amd64" IMG_NAME: "ubuntu-18.04-amd64"
<<: *docker_build <<: *docker_build
docker_ubuntu-20_04-amd64: docker_ubuntu-20_04-amd64:
variables: variables:
IMG_NAME: "ubuntu-20.04-amd64" IMG_NAME: "ubuntu-20.04-amd64"
@ -167,10 +169,11 @@ docker_ubuntu-20_10-amd64:
IMG_NAME: "ubuntu-20.10-amd64" IMG_NAME: "ubuntu-20.10-amd64"
<<: *docker_build <<: *docker_build
docker_ubuntu-21_04-amd64: # GPG error
variables: #docker_ubuntu-21_04-amd64:
IMG_NAME: "ubuntu-21.04-amd64" # variables:
<<: *docker_build # IMG_NAME: "ubuntu-21.04-amd64"
# <<: *docker_build
docker_opensuse-15.0-amd64: docker_opensuse-15.0-amd64:
variables: variables:
@ -257,17 +260,17 @@ build-debian-11-amd64:
<<: *build-linux <<: *build-linux
image: registry.labs.nic.cz/labs/bird:debian-11-amd64 image: registry.labs.nic.cz/labs/bird:debian-11-amd64
build-debian-11-i386: #build-debian-11-i386:
<<: *build-linux # <<: *build-linux
image: registry.labs.nic.cz/labs/bird:debian-11-i386 # image: registry.labs.nic.cz/labs/bird:debian-11-i386
build-debian-testing-amd64: build-debian-testing-amd64:
<<: *build-linux <<: *build-linux
image: registry.labs.nic.cz/labs/bird:debian-testing-amd64 image: registry.labs.nic.cz/labs/bird:debian-testing-amd64
build-debian-testing-i386: #build-debian-testing-i386:
<<: *build-linux # <<: *build-linux
image: registry.labs.nic.cz/labs/bird:debian-testing-i386 # image: registry.labs.nic.cz/labs/bird:debian-testing-i386
build-fedora-25-amd64: build-fedora-25-amd64:
<<: *build-linux <<: *build-linux
@ -337,9 +340,9 @@ build-ubuntu-20_10-amd64:
<<: *build-linux <<: *build-linux
image: registry.labs.nic.cz/labs/bird:ubuntu-20.10-amd64 image: registry.labs.nic.cz/labs/bird:ubuntu-20.10-amd64
build-ubuntu-21_04-amd64: #build-ubuntu-21_04-amd64:
<<: *build-linux # <<: *build-linux
image: registry.labs.nic.cz/labs/bird:ubuntu-21.04-amd64 # image: registry.labs.nic.cz/labs/bird:ubuntu-21.04-amd64
build-opensuse-15.0-amd64: build-opensuse-15.0-amd64:
<<: *build-linux <<: *build-linux
@ -370,38 +373,147 @@ build-freebsd-11-i386:
- i386 - i386
.pkg-debian: &pkg-debian .pkg-deb: &pkg-deb
stage: pkg stage: pkg
script: script:
- pip3 install apkg - pip3 install apkg
- apkg build - apkg build
- apkg install -y pkg/pkgs/*/*/*.deb #- apkg install -y pkg/pkgs/*/*/*.deb
artifacts:
paths:
- pkg/pkgs/*
.pkg-rpm: &pkg-rpm
stage: pkg
script:
- pip3 install apkg
- apkg build
#- apkg install -y pkg/pkgs/*/*/*.rpm
artifacts:
paths:
- pkg/pkgs/*
.pkg-rpm-wa: &pkg-rpm-wa
stage: pkg
script:
- sed -i "s/runstatedir/with-runtimedir/" distro/pkg/rpm/bird.spec
- pip3 install apkg
- apkg build
#- apkg install -y pkg/pkgs/*/*/*.rpm
artifacts:
paths:
- pkg/pkgs/*
# Dpkg error: PATH is not set
#pkg-debian-8-amd64:
# <<: *pkg-deb
# needs: [build-debian-8-amd64]
# image: registry.labs.nic.cz/labs/bird:debian-8-amd64
# Dpkg error: PATH is not set
#pkg-debian-8-i386:
# <<: *pkg-deb
# needs: [build-debian-8-i386]
# image: registry.labs.nic.cz/labs/bird:debian-8-i386
# Dpkg error: PATH is not set
pkg-debian-9-amd64: pkg-debian-9-amd64:
<<: *pkg-debian <<: *pkg-deb
needs: [build-debian-9-amd64] needs: [build-debian-9-amd64]
image: registry.labs.nic.cz/labs/bird:debian-9-amd64 image: registry.labs.nic.cz/labs/bird:debian-9-amd64
# Dpkg error: PATH is not set
pkg-debian-9-i386: pkg-debian-9-i386:
<<: *pkg-debian <<: *pkg-deb
needs: [build-debian-9-i386] needs: [build-debian-9-i386]
image: registry.labs.nic.cz/labs/bird:debian-9-i386 image: registry.labs.nic.cz/labs/bird:debian-9-i386
pkg-debian-10-amd64: pkg-debian-10-amd64:
<<: *pkg-debian <<: *pkg-deb
needs: [build-debian-10-amd64] needs: [build-debian-10-amd64]
image: registry.labs.nic.cz/labs/bird:debian-10-amd64 image: registry.labs.nic.cz/labs/bird:debian-10-amd64
pkg-debian-10-i386: pkg-debian-10-i386:
<<: *pkg-debian <<: *pkg-deb
needs: [build-debian-10-i386] needs: [build-debian-10-i386]
image: registry.labs.nic.cz/labs/bird:debian-10-i386 image: registry.labs.nic.cz/labs/bird:debian-10-i386
pkg-debian-11-amd64: pkg-debian-11-amd64:
<<: *pkg-debian <<: *pkg-deb
needs: [build-debian-11-amd64] needs: [build-debian-11-amd64]
image: registry.labs.nic.cz/labs/bird:debian-11-amd64 image: registry.labs.nic.cz/labs/bird:debian-11-amd64
pkg-fedora-30-amd64:
<<: *pkg-rpm-wa
needs: [build-fedora-30-amd64]
image: registry.labs.nic.cz/labs/bird:fedora-30-amd64
pkg-fedora-31-amd64:
<<: *pkg-rpm-wa
needs: [build-fedora-31-amd64]
image: registry.labs.nic.cz/labs/bird:fedora-31-amd64
pkg-fedora-32-amd64:
<<: *pkg-rpm-wa
needs: [build-fedora-32-amd64]
image: registry.labs.nic.cz/labs/bird:fedora-32-amd64
pkg-fedora-33-amd64:
<<: *pkg-rpm-wa
needs: [build-fedora-33-amd64]
image: registry.labs.nic.cz/labs/bird:fedora-33-amd64
pkg-fedora-34-amd64:
<<: *pkg-rpm
needs: [build-fedora-34-amd64]
image: registry.labs.nic.cz/labs/bird:fedora-34-amd64
# UnicodeDecodeError
#pkg-centos-7-amd64:
# <<: *pkg-rpm-wa
# needs: [build-centos-7-amd64]
# image: registry.labs.nic.cz/labs/bird:centos-7-amd64
pkg-centos-8-amd64:
<<: *pkg-rpm-wa
needs: [build-centos-8-amd64]
image: registry.labs.nic.cz/labs/bird:centos-8-amd64
pkg-ubuntu-18.04-amd64:
<<: *pkg-deb
needs: [build-ubuntu-18_04-amd64]
image: registry.labs.nic.cz/labs/bird:ubuntu-18.04-amd64
pkg-ubuntu-20.04-amd64:
<<: *pkg-deb
needs: [build-ubuntu-20_04-amd64]
image: registry.labs.nic.cz/labs/bird:ubuntu-20.04-amd64
pkg-ubuntu-20.10-amd64:
<<: *pkg-deb
needs: [build-ubuntu-20_10-amd64]
image: registry.labs.nic.cz/labs/bird:ubuntu-20.10-amd64
#pkg-ubuntu-21.04-amd64:
# <<: *pkg-deb
# needs: [build-ubuntu-21_04-amd64]
# image: registry.labs.nic.cz/labs/bird:ubuntu-21.04-amd64
pkg-opensuse-15.1-amd64:
<<: *pkg-rpm-wa
needs: [build-opensuse-15.1-amd64]
image: registry.labs.nic.cz/labs/bird:opensuse-15.1-amd64
pkg-opensuse-15.2-amd64:
<<: *pkg-rpm-wa
needs: [build-opensuse-15.2-amd64]
image: registry.labs.nic.cz/labs/bird:opensuse-15.2-amd64
pkg-opensuse-15.3-amd64:
<<: *pkg-rpm-wa
needs: [build-opensuse-15.3-amd64]
image: registry.labs.nic.cz/labs/bird:opensuse-15.3-amd64
build-birdlab: build-birdlab:
stage: build stage: build
@ -454,10 +566,10 @@ test-ospf-ptmp:
variables: variables:
TEST_NAME: cf-ospf-ptmp TEST_NAME: cf-ospf-ptmp
# test-ospf-authentication: test-ospf-authentication:
# <<: *test-base <<: *test-base
# variables: variables:
# TEST_NAME: cf-ospf-authentication TEST_NAME: cf-ospf-authentication
test-ospf-bfd: test-ospf-bfd:
<<: *test-base <<: *test-base

View File

@ -1,11 +1,18 @@
FROM centos:7 FROM centos:7
RUN yum -y upgrade RUN yum -y upgrade
RUN yum -y install \ RUN yum -y install \
autoconf \ gcc \
make \
flex \ flex \
bison \ bison \
pkgconfig \ autoconf \
'readline-devel' \ libssh-devel \
'pkgconfig(ncurses)' \ ncurses-devel \
gcc \ readline-devel
make RUN yum -y install \
git \
rpm-build \
systemd \
python3 \
python3-pip \
python3-setuptools

View File

@ -1,11 +1,18 @@
FROM centos:8 FROM centos:8
RUN yum -y upgrade RUN yum -y upgrade
RUN yum -y install \ RUN yum -y install \
autoconf \ gcc \
make \
flex \ flex \
bison \ bison \
pkgconfig \ autoconf \
'readline-devel' \ libssh-devel \
'pkgconfig(ncurses)' \ ncurses-devel \
gcc \ readline-devel
make RUN yum -y install \
git \
rpm-build \
systemd-rpm-macros \
python3 \
python3-pip \
python3-setuptools

View File

@ -4,10 +4,10 @@ RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
RUN apt-get -y update RUN apt-get -y update
RUN apt-get -y upgrade RUN apt-get -y upgrade
RUN apt-get -y --no-install-recommends install \ RUN apt-get -y --no-install-recommends install \
autoconf \
build-essential \ build-essential \
flex \ flex \
bison \ bison \
autoconf \
ncurses-dev \ ncurses-dev \
libreadline-dev \ libreadline-dev \
libssh-gcrypt-dev \ libssh-gcrypt-dev \

View File

@ -4,10 +4,10 @@ RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
RUN apt-get -y update RUN apt-get -y update
RUN apt-get -y upgrade RUN apt-get -y upgrade
RUN apt-get -y --no-install-recommends install \ RUN apt-get -y --no-install-recommends install \
autoconf \
build-essential \ build-essential \
flex \ flex \
bison \ bison \
autoconf \
ncurses-dev \ ncurses-dev \
libreadline-dev \ libreadline-dev \
libssh-gcrypt-dev \ libssh-gcrypt-dev \

View File

@ -1,14 +1,13 @@
FROM amd64/debian:bullseye-slim FROM amd64/debian:bullseye-slim
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
RUN apt-get -y update RUN apt-get -y update
RUN apt-get -y upgrade RUN apt-get -y upgrade
RUN apt-get -y --no-install-recommends install \ RUN apt-get -y --no-install-recommends install \
autoconf \
build-essential \ build-essential \
flex \ flex \
bison \ bison \
autoconf \
ncurses-dev \ ncurses-dev \
libreadline-dev \ libreadline-dev \
libssh-gcrypt-dev \ libssh-gcrypt-dev \

View File

@ -1,13 +1,25 @@
FROM i386/debian:bullseye-slim FROM i386/debian:bullseye-slim
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
RUN apt-get -y update && apt-get -y upgrade RUN apt-get -y update && apt-get -y upgrade
RUN apt-get -y install \ RUN apt-get -y --no-install-recommends install \
autoconf \
build-essential \ build-essential \
flex \ flex \
bison \ bison \
autoconf \
ncurses-dev \ ncurses-dev \
libreadline-dev libreadline-dev \
libssh-gcrypt-dev \
linuxdoc-tools-latex \
texlive-latex-extra \
opensp \
docbook-xsl \
xsltproc
RUN apt-get -y --no-install-recommends install \
git \
dpkg-dev \
debhelper \
quilt \
python3 \
python3-pip \
python3-setuptools

View File

@ -5,9 +5,9 @@ RUN echo 'deb http://archive.debian.org/debian-security/ wheezy/updates main' >>
RUN apt-get -y update -o Acquire::Check-Valid-Until=false RUN apt-get -y update -o Acquire::Check-Valid-Until=false
RUN apt-get -y upgrade RUN apt-get -y upgrade
RUN apt-get -y install \ RUN apt-get -y install \
autoconf \
build-essential \ build-essential \
flex \ flex \
bison \ bison \
autoconf \
ncurses-dev \ ncurses-dev \
libreadline-dev libreadline-dev

View File

@ -5,9 +5,9 @@ RUN echo 'deb http://archive.debian.org/debian-security/ wheezy/updates main' >>
RUN apt-get -y update -o Acquire::Check-Valid-Until=false RUN apt-get -y update -o Acquire::Check-Valid-Until=false
RUN apt-get -y upgrade RUN apt-get -y upgrade
RUN apt-get -y install \ RUN apt-get -y install \
autoconf \
build-essential \ build-essential \
flex \ flex \
bison \ bison \
autoconf \
ncurses-dev \ ncurses-dev \
libreadline-dev libreadline-dev

View File

@ -4,9 +4,9 @@ RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
RUN apt-get -y update RUN apt-get -y update
RUN apt-get -y upgrade RUN apt-get -y upgrade
RUN apt-get -y install \ RUN apt-get -y install \
autoconf \
build-essential \ build-essential \
flex \ flex \
bison \ bison \
autoconf \
ncurses-dev \ ncurses-dev \
libreadline-dev libreadline-dev

View File

@ -4,9 +4,9 @@ RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
RUN apt-get -y update RUN apt-get -y update
RUN apt-get -y upgrade RUN apt-get -y upgrade
RUN apt-get -y install \ RUN apt-get -y install \
autoconf \
build-essential \ build-essential \
flex \ flex \
bison \ bison \
autoconf \
ncurses-dev \ ncurses-dev \
libreadline-dev libreadline-dev

View File

@ -4,10 +4,10 @@ RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
RUN apt-get -y update RUN apt-get -y update
RUN apt-get -y upgrade RUN apt-get -y upgrade
RUN apt-get -y --no-install-recommends install \ RUN apt-get -y --no-install-recommends install \
autoconf \
build-essential \ build-essential \
flex \ flex \
bison \ bison \
autoconf \
ncurses-dev \ ncurses-dev \
libreadline-dev \ libreadline-dev \
libssh-gcrypt-dev \ libssh-gcrypt-dev \

View File

@ -4,10 +4,10 @@ RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
RUN apt-get -y update RUN apt-get -y update
RUN apt-get -y upgrade RUN apt-get -y upgrade
RUN apt-get -y --no-install-recommends install \ RUN apt-get -y --no-install-recommends install \
autoconf \
build-essential \ build-essential \
flex \ flex \
bison \ bison \
autoconf \
ncurses-dev \ ncurses-dev \
libreadline-dev \ libreadline-dev \
libssh-gcrypt-dev \ libssh-gcrypt-dev \

View File

@ -4,9 +4,9 @@ RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
RUN apt-get -y update RUN apt-get -y update
RUN apt-get -y upgrade RUN apt-get -y upgrade
RUN apt-get -y install \ RUN apt-get -y install \
autoconf \
build-essential \ build-essential \
flex \ flex \
bison \ bison \
autoconf \
ncurses-dev \ ncurses-dev \
libreadline-dev libreadline-dev

View File

@ -4,9 +4,9 @@ RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
RUN apt-get -y update RUN apt-get -y update
RUN apt-get -y upgrade RUN apt-get -y upgrade
RUN apt-get -y install \ RUN apt-get -y install \
autoconf \
build-essential \ build-essential \
flex \ flex \
bison \ bison \
autoconf \
ncurses-dev \ ncurses-dev \
libreadline-dev libreadline-dev

View File

@ -1,11 +1,18 @@
FROM fedora:30 FROM fedora:30
RUN dnf -y upgrade RUN dnf -y update
RUN dnf -y install \ RUN dnf -y install \
gcc \
make \ make \
autoconf \
flex \ flex \
bison \ bison \
pkgconfig \ autoconf \
'readline-devel' \ libssh-devel \
'pkgconfig(ncurses)' \ ncurses-devel \
gcc readline-devel
RUN dnf -y install \
git \
rpm-build \
systemd-rpm-macros \
python3 \
python3-pip \
python3-setuptools

View File

@ -1,11 +1,18 @@
FROM fedora:31 FROM fedora:31
RUN dnf -y upgrade RUN dnf -y update
RUN dnf -y install \ RUN dnf -y install \
gcc \
make \ make \
autoconf \
flex \ flex \
bison \ bison \
pkgconfig \ autoconf \
'readline-devel' \ libssh-devel \
'pkgconfig(ncurses)' \ ncurses-devel \
gcc readline-devel
RUN dnf -y install \
git \
rpm-build \
systemd-rpm-macros \
python3 \
python3-pip \
python3-setuptools

View File

@ -1,13 +1,18 @@
FROM fedora:32 FROM fedora:32
RUN dnf -y update
RUN dnf -y update && dnf -y upgrade
RUN dnf -y install \ RUN dnf -y install \
make \ gcc \
autoconf \ make \
flex \ flex \
bison \ bison \
pkgconfig \ autoconf \
"readline-devel" \ libssh-devel \
"pkgconfig(ncurses)" \ ncurses-devel \
gcc readline-devel
RUN dnf -y install \
git \
rpm-build \
systemd-rpm-macros \
python3 \
python3-pip \
python3-setuptools

View File

@ -1,13 +1,18 @@
FROM fedora:33 FROM fedora:33
RUN dnf -y upgrade
RUN dnf -y update && dnf -y upgrade
RUN dnf -y install \ RUN dnf -y install \
make \ gcc \
autoconf \ make \
flex \ flex \
bison \ bison \
pkgconfig \ autoconf \
"readline-devel" \ libssh-devel \
"pkgconfig(ncurses)" \ ncurses-devel \
gcc readline-devel
RUN dnf -y install \
git \
rpm-build \
systemd-rpm-macros \
python3 \
python3-pip \
python3-setuptools

View File

@ -1,13 +1,18 @@
FROM fedora:34 FROM fedora:34
RUN dnf -y upgrade
RUN dnf -y update && dnf -y upgrade
RUN dnf -y install \ RUN dnf -y install \
make \ gcc \
autoconf \ make \
flex \ flex \
bison \ bison \
pkgconfig \ autoconf \
"readline-devel" \ libssh-devel \
"pkgconfig(ncurses)" \ ncurses-devel \
gcc readline-devel
RUN dnf -y install \
git \
rpm-build \
systemd-rpm-macros \
python3 \
python3-pip \
python3-setuptools

View File

@ -1,11 +1,19 @@
FROM opensuse/leap:15.1 FROM opensuse/leap:15.1
RUN zypper -n up RUN zypper -n up
RUN zypper -n install \ RUN zypper -n install \
autoconf \ gcc \
make \
flex \ flex \
bison \ bison \
pkgconfig \ autoconf \
readline-devel \ libssh-devel \
ncurses-devel \ ncurses-devel \
gcc \ readline-devel
gmake RUN zypper -n install \
git \
rpm-build \
systemd \
systemd-rpm-macros \
python3 \
python3-pip \
python3-setuptools

View File

@ -1,12 +1,19 @@
FROM opensuse/leap:15.2 FROM opensuse/leap:15.2
RUN zypper -n up RUN zypper -n up
RUN zypper -n install \ RUN zypper -n install \
autoconf \ gcc \
make \
flex \ flex \
bison \ bison \
pkgconfig \ autoconf \
readline-devel \ libssh-devel \
ncurses-devel \ ncurses-devel \
gcc \ readline-devel
gmake RUN zypper -n install \
git \
rpm-build \
systemd \
systemd-rpm-macros \
python3 \
python3-pip \
python3-setuptools

View File

@ -1,12 +1,19 @@
FROM opensuse/leap:15.3 FROM opensuse/leap:15.3
RUN zypper -n up RUN zypper -n up
RUN zypper -n install \ RUN zypper -n install \
autoconf \ gcc \
make \
flex \ flex \
bison \ bison \
pkgconfig \ autoconf \
readline-devel \ libssh-devel \
ncurses-devel \ ncurses-devel \
gcc \ readline-devel
gmake RUN zypper -n install \
git \
rpm-build \
systemd \
systemd-rpm-macros \
python3 \
python3-pip \
python3-setuptools

View File

@ -4,9 +4,9 @@ RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
RUN apt-get -y update RUN apt-get -y update
RUN apt-get -y upgrade RUN apt-get -y upgrade
RUN apt-get -y install \ RUN apt-get -y install \
autoconf \
build-essential \ build-essential \
flex \ flex \
bison \ bison \
autoconf \
ncurses-dev \ ncurses-dev \
libreadline-dev libreadline-dev

View File

@ -4,9 +4,9 @@ RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
RUN apt-get -y update RUN apt-get -y update
RUN apt-get -y upgrade RUN apt-get -y upgrade
RUN apt-get -y install \ RUN apt-get -y install \
autoconf \
build-essential \ build-essential \
flex \ flex \
bison \ bison \
autoconf \
ncurses-dev \ ncurses-dev \
libreadline-dev libreadline-dev

View File

@ -4,9 +4,24 @@ RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
RUN apt-get -y update RUN apt-get -y update
RUN apt-get -y upgrade RUN apt-get -y upgrade
RUN apt-get -y install \ RUN apt-get -y install \
autoconf \
build-essential \ build-essential \
flex \ flex \
bison \ bison \
autoconf \
ncurses-dev \ ncurses-dev \
libreadline-dev libreadline-dev \
libssh-gcrypt-dev \
linuxdoc-tools-latex \
texlive-latex-extra \
opensp \
docbook-xsl \
xsltproc
RUN apt-get -y install \
git \
dpkg-dev \
debhelper \
apt-utils \
quilt \
python3 \
python3-pip \
python3-setuptools

View File

@ -1,14 +1,27 @@
FROM ubuntu:20.04 FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
RUN apt-get -y update RUN apt-get -y update
RUN apt-get -y upgrade RUN apt-get -y upgrade
RUN apt-get -y install \ RUN apt-get -y install \
autoconf \ build-essential \
build-essential \ flex \
flex \ bison \
bison \ autoconf \
ncurses-dev \ ncurses-dev \
libreadline-dev \ libreadline-dev \
libssh-gcrypt-dev \
linuxdoc-tools-latex \
texlive-latex-extra \
opensp \
docbook-xsl \
xsltproc
RUN apt-get -y install \
git \
dpkg-dev \
debhelper \
apt-utils \
quilt \
python3 \
python3-pip \
python3-setuptools

View File

@ -1,14 +1,27 @@
FROM ubuntu:20.10 FROM ubuntu:20.10
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
RUN apt-get -y update RUN apt-get -y update
RUN apt-get -y upgrade RUN apt-get -y upgrade
RUN apt-get -y install \ RUN apt-get -y install \
autoconf \ build-essential \
build-essential \ flex \
flex \ bison \
bison \ autoconf \
ncurses-dev \ ncurses-dev \
libreadline-dev \ libreadline-dev \
libssh-gcrypt-dev \
linuxdoc-tools-latex \
texlive-latex-extra \
opensp \
docbook-xsl \
xsltproc
RUN apt-get -y install \
git \
dpkg-dev \
debhelper \
apt-utils \
quilt \
python3 \
python3-pip \
python3-setuptools

View File

@ -1,14 +1,27 @@
FROM ubuntu:21.04 FROM ubuntu:21.04
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
RUN apt-get -y update RUN apt-get -y update
RUN apt-get -y upgrade RUN apt-get -y upgrade
RUN apt-get -y install \ RUN apt-get -y install \
autoconf \ build-essential \
build-essential \ flex \
flex \ bison \
bison \ autoconf \
ncurses-dev \ ncurses-dev \
libreadline-dev libreadline-dev \
libssh-gcrypt-dev \
linuxdoc-tools-latex \
texlive-latex-extra \
opensp \
docbook-xsl \
xsltproc
RUN apt-get -y install \
git \
dpkg-dev \
debhelper \
apt-utils \
quilt \
python3 \
python3-pip \
python3-setuptools