mirror of
				https://gitlab.labs.nic.cz/labs/bird.git
				synced 2024-05-11 16:54:54 +00:00 
			
		
		
		
	CI: Add more build tests
Add more Docker images with distributions (CentOS 8, Debian 10, Fedora 27-31, OpenSUSE 15.0 & 15.1, and Ubuntu 18.04 & 19.04). Fix some issues with older ones.
This commit is contained in:
		
				
					committed by
					
						
						Ondrej Zajicek (work)
					
				
			
			
				
	
			
			
			
						parent
						
							0adfa0ec07
						
					
				
				
					commit
					92249894b3
				
			
							
								
								
									
										11
									
								
								misc/docker/centos-8-amd64/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								misc/docker/centos-8-amd64/Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
FROM centos:8
 | 
			
		||||
RUN yum -y upgrade
 | 
			
		||||
RUN yum -y install \
 | 
			
		||||
	autoconf \
 | 
			
		||||
	flex \
 | 
			
		||||
	bison \
 | 
			
		||||
	pkgconfig \
 | 
			
		||||
	'readline-devel' \
 | 
			
		||||
	'pkgconfig(ncurses)' \
 | 
			
		||||
	gcc \
 | 
			
		||||
	make
 | 
			
		||||
							
								
								
									
										12
									
								
								misc/docker/debian-10-amd64/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								misc/docker/debian-10-amd64/Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
FROM debian:buster-slim
 | 
			
		||||
ENV DEBIAN_FRONTEND noninteractive
 | 
			
		||||
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
 | 
			
		||||
RUN apt-get -y update
 | 
			
		||||
RUN apt-get -y upgrade
 | 
			
		||||
RUN apt-get -y install \
 | 
			
		||||
	autoconf \
 | 
			
		||||
	build-essential \
 | 
			
		||||
	flex \
 | 
			
		||||
	bison \
 | 
			
		||||
	ncurses-dev \
 | 
			
		||||
	libreadline-dev
 | 
			
		||||
							
								
								
									
										12
									
								
								misc/docker/debian-10-i386/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								misc/docker/debian-10-i386/Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
FROM i386/debian:stretch-slim
 | 
			
		||||
ENV DEBIAN_FRONTEND noninteractive
 | 
			
		||||
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
 | 
			
		||||
RUN apt-get -y update
 | 
			
		||||
RUN apt-get -y upgrade
 | 
			
		||||
RUN apt-get -y install \
 | 
			
		||||
	autoconf \
 | 
			
		||||
	build-essential \
 | 
			
		||||
	flex \
 | 
			
		||||
	bison \
 | 
			
		||||
	ncurses-dev \
 | 
			
		||||
	libreadline-dev
 | 
			
		||||
@@ -1,7 +1,8 @@
 | 
			
		||||
FROM debian:wheezy-slim
 | 
			
		||||
ENV DEBIAN_FRONTEND noninteractive
 | 
			
		||||
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
 | 
			
		||||
RUN apt-get -y update
 | 
			
		||||
RUN echo 'deb http://archive.debian.org/debian/ wheezy main' > /etc/apt/sources.list
 | 
			
		||||
RUN echo 'deb http://archive.debian.org/debian-security/ wheezy/updates main' >> /etc/apt/sources.list
 | 
			
		||||
RUN apt-get -y update -o Acquire::Check-Valid-Until=false
 | 
			
		||||
RUN apt-get -y upgrade
 | 
			
		||||
RUN apt-get -y install \
 | 
			
		||||
	autoconf \
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,8 @@
 | 
			
		||||
FROM i386/debian:wheezy-slim
 | 
			
		||||
ENV DEBIAN_FRONTEND noninteractive
 | 
			
		||||
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
 | 
			
		||||
RUN apt-get -y update
 | 
			
		||||
RUN echo 'deb http://archive.debian.org/debian/ wheezy main' > /etc/apt/sources.list
 | 
			
		||||
RUN echo 'deb http://archive.debian.org/debian-security/ wheezy/updates main' >> /etc/apt/sources.list
 | 
			
		||||
RUN apt-get -y update -o Acquire::Check-Valid-Until=false
 | 
			
		||||
RUN apt-get -y upgrade
 | 
			
		||||
RUN apt-get -y install \
 | 
			
		||||
	autoconf \
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,7 @@
 | 
			
		||||
FROM fedora:25
 | 
			
		||||
RUN dnf -y upgrade
 | 
			
		||||
RUN dnf -y install \
 | 
			
		||||
	make \
 | 
			
		||||
	autoconf \
 | 
			
		||||
	flex \
 | 
			
		||||
	bison \
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,7 @@
 | 
			
		||||
FROM fedora:26
 | 
			
		||||
RUN dnf -y upgrade
 | 
			
		||||
RUN dnf -y install \
 | 
			
		||||
	make \
 | 
			
		||||
	autoconf \
 | 
			
		||||
	flex \
 | 
			
		||||
	bison \
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										11
									
								
								misc/docker/fedora-27-amd64/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								misc/docker/fedora-27-amd64/Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
FROM fedora:27
 | 
			
		||||
RUN dnf -y upgrade
 | 
			
		||||
RUN dnf -y install \
 | 
			
		||||
	make \
 | 
			
		||||
	autoconf \
 | 
			
		||||
	flex \
 | 
			
		||||
	bison \
 | 
			
		||||
	pkgconfig \
 | 
			
		||||
	'readline-devel' \
 | 
			
		||||
	'pkgconfig(ncurses)' \
 | 
			
		||||
	gcc
 | 
			
		||||
							
								
								
									
										11
									
								
								misc/docker/fedora-28-amd64/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								misc/docker/fedora-28-amd64/Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
FROM fedora:28
 | 
			
		||||
RUN dnf -y upgrade
 | 
			
		||||
RUN dnf -y install \
 | 
			
		||||
	make \
 | 
			
		||||
	autoconf \
 | 
			
		||||
	flex \
 | 
			
		||||
	bison \
 | 
			
		||||
	pkgconfig \
 | 
			
		||||
	'readline-devel' \
 | 
			
		||||
	'pkgconfig(ncurses)' \
 | 
			
		||||
	gcc
 | 
			
		||||
							
								
								
									
										11
									
								
								misc/docker/fedora-29-amd64/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								misc/docker/fedora-29-amd64/Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
FROM fedora:29
 | 
			
		||||
RUN dnf -y upgrade
 | 
			
		||||
RUN dnf -y install \
 | 
			
		||||
	make \
 | 
			
		||||
	autoconf \
 | 
			
		||||
	flex \
 | 
			
		||||
	bison \
 | 
			
		||||
	pkgconfig \
 | 
			
		||||
	'readline-devel' \
 | 
			
		||||
	'pkgconfig(ncurses)' \
 | 
			
		||||
	gcc
 | 
			
		||||
							
								
								
									
										11
									
								
								misc/docker/fedora-30-amd64/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								misc/docker/fedora-30-amd64/Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
FROM fedora:30
 | 
			
		||||
RUN dnf -y upgrade
 | 
			
		||||
RUN dnf -y install \
 | 
			
		||||
	make \
 | 
			
		||||
	autoconf \
 | 
			
		||||
	flex \
 | 
			
		||||
	bison \
 | 
			
		||||
	pkgconfig \
 | 
			
		||||
	'readline-devel' \
 | 
			
		||||
	'pkgconfig(ncurses)' \
 | 
			
		||||
	gcc
 | 
			
		||||
							
								
								
									
										11
									
								
								misc/docker/fedora-31-amd64/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								misc/docker/fedora-31-amd64/Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
FROM fedora:31
 | 
			
		||||
RUN dnf -y upgrade
 | 
			
		||||
RUN dnf -y install \
 | 
			
		||||
	make \
 | 
			
		||||
	autoconf \
 | 
			
		||||
	flex \
 | 
			
		||||
	bison \
 | 
			
		||||
	pkgconfig \
 | 
			
		||||
	'readline-devel' \
 | 
			
		||||
	'pkgconfig(ncurses)' \
 | 
			
		||||
	gcc
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
FROM opensuse:42.3
 | 
			
		||||
FROM opensuse/leap:15.0
 | 
			
		||||
RUN zypper -n up
 | 
			
		||||
RUN zypper -n install \
 | 
			
		||||
	autoconf \
 | 
			
		||||
							
								
								
									
										11
									
								
								misc/docker/opensuse-15.1-amd64/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								misc/docker/opensuse-15.1-amd64/Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
FROM opensuse/leap:15.1
 | 
			
		||||
RUN zypper -n up
 | 
			
		||||
RUN zypper -n install \
 | 
			
		||||
	autoconf \
 | 
			
		||||
	flex \
 | 
			
		||||
	bison \
 | 
			
		||||
	pkgconfig \
 | 
			
		||||
	readline-devel \
 | 
			
		||||
	ncurses-devel \
 | 
			
		||||
	gcc \
 | 
			
		||||
	gmake
 | 
			
		||||
							
								
								
									
										12
									
								
								misc/docker/ubuntu-18.04-amd64/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								misc/docker/ubuntu-18.04-amd64/Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
FROM ubuntu:18.04
 | 
			
		||||
ENV DEBIAN_FRONTEND noninteractive
 | 
			
		||||
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
 | 
			
		||||
RUN apt-get -y update
 | 
			
		||||
RUN apt-get -y upgrade
 | 
			
		||||
RUN apt-get -y install \
 | 
			
		||||
	autoconf \
 | 
			
		||||
	build-essential \
 | 
			
		||||
	flex \
 | 
			
		||||
	bison \
 | 
			
		||||
	ncurses-dev \
 | 
			
		||||
	libreadline-dev
 | 
			
		||||
							
								
								
									
										12
									
								
								misc/docker/ubuntu-19.04-amd64/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								misc/docker/ubuntu-19.04-amd64/Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
FROM ubuntu:19.04
 | 
			
		||||
ENV DEBIAN_FRONTEND noninteractive
 | 
			
		||||
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
 | 
			
		||||
RUN apt-get -y update
 | 
			
		||||
RUN apt-get -y upgrade
 | 
			
		||||
RUN apt-get -y install \
 | 
			
		||||
	autoconf \
 | 
			
		||||
	build-essential \
 | 
			
		||||
	flex \
 | 
			
		||||
	bison \
 | 
			
		||||
	ncurses-dev \
 | 
			
		||||
	libreadline-dev
 | 
			
		||||
		Reference in New Issue
	
	Block a user