Commit 880df032 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Automatically build Debian and Ubuntu docker images for Knot DNS

parent 825995df
Pipeline #11646 failed with stage
in 7 seconds
variables:
DEBIAN_FRONTEND: noninteractive
LC_ALL: en_DK.UTF-8
docker:knot-dns:debian:
stage: build
script:
- docker build -t "knot-dns/debian:latest" "knot-dns/debian:latest"
- docker tag "knot-dns/debian:latest" "registry.labs.nic.cz/knot/knot-dns/debian:latest"
- docker push "registry.labs.nic.cz/knot/knot-dns/debian:latest"
tags:
- shell
- linux
docker:knot-dns:ubuntu:
stage: build
script:
- docker build -t "knot-dns/ubuntu:latest" "knot-dns/ubuntu:latest"
- docker tag "knot-dns/ubuntu:latest" "registry.labs.nic.cz/knot/knot-dns/ubuntu:latest"
- docker push "registry.labs.nic.cz/knot/knot-dns/ubuntu:latest"
tags:
- shell
- linux
FROM debian:stretch-slim
MAINTAINER Ondřej Surý <ondrej@sury.org>
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 install apt-utils
RUN apt-get -y dist-upgrade
RUN apt-get -y install build-essential
RUN apt-get -y install ghostscript python-sphinx texinfo texlive texlive-font-utils texlive-generic-extra texlive-latex-extra
RUN apt-get -y install autoconf automake libtool autotools-dev bash-completion bison flex libedit-dev libgnutls28-dev libidn11-dev libjansson-dev liblmdb-dev libsystemd-dev liburcu-dev pkg-config
RUN apt-get -y install curl unzip git
FROM debian:stable-slim
MAINTAINER Knot DNS <knot-dns@labs.nic.cz>
ENV DEBIAN_FRONTEND noninteractive
ENV LC_ALL=C.UTF-8
RUN sed -i 's/deb.debian.org/ftp.cz.debian.org/' /etc/apt/sources.list
RUN apt-get -y update
RUN apt-get -y dist-upgrade
RUN apt-get -y install \
apt-utils \
autoconf \
automake \
autotools-dev \
bash-completion \
build-essential \
curl \
ghostscript \
git \
libedit-dev \
libfstrm-dev \
libgnutls28-dev \
libidn11-dev \
liblmdb-dev \
libprotobuf-c-dev \
libsystemd-dev \
libtool \
liburcu-dev \
locales-all \
pkg-config \
protobuf-c-compiler \
python-sphinx \
texinfo texlive \
texlive-font-utils \
texlive-generic-extra \
texlive-latex-extra \
unzip
FROM ubuntu:latest
MAINTAINER Knot DNS <knot-dns@labs.nic.cz>
ENV DEBIAN_FRONTEND noninteractive
ENV LC_ALL=en_DK.UTF-8
RUN apt-get -y update
RUN apt-get -y dist-upgrade
RUN apt-get -y install \
autoconf \
automake \
autotools-dev \
bash-completion \
build-essential \
curl \
ghostscript \
git \
language-pack-en \
libedit-dev \
libgnutls28-dev \
libidn11-dev \
liblmdb-dev \
libsystemd-dev \
libtool \
liburcu-dev \
pkg-config \
python-sphinx \
texinfo \
texlive \
texlive-font-utils \
texlive-generic-extra \
texlive-latex-extra \
unzip
FROM ubuntu:16.04
MAINTAINER Ondřej Surý <ondrej@sury.org>
ENV DEBIAN_FRONTEND noninteractive
RUN update-locale LANG=C.UTF-8
RUN apt-get -y update
RUN apt-get -y install apt-utils
RUN apt-get -y install software-properties-common
RUN LC_ALL=C.UTF-8 add-apt-repository -s -y -u ppa:cz.nic-labs/knot-dns
RUN apt-get -y update
RUN apt-get -y dist-upgrade
RUN apt-get -y install build-essential
RUN apt-get -y install ghostscript python-sphinx texinfo texlive texlive-font-utils texlive-generic-extra texlive-latex-extra
RUN apt-get -y install autoconf automake libtool autotools-dev bash-completion bison flex libedit-dev libgnutls28-dev libidn11-dev libjansson-dev liblmdb-dev libsystemd-dev liburcu-dev pkg-config
RUN apt-get -y install curl unzip git
FROM ubuntu:16.04
MAINTAINER Ondřej Surý <ondrej@sury.org>
RUN update-locale LANG=C.UTF-8
RUN apt-get -y update
RUN apt-get -y install software-properties-common
RUN LC_ALL=C.UTF-8 add-apt-repository -s -y -u ppa:cz.nic-labs/knot-dns
RUN LC_ALL=C.UTF-8 add-apt-repository -s -y -u ppa:cz.nic-labs/knot-resolver
RUN apt-get -y update
RUN apt-get -y dist-upgrade
RUN apt-get -y install python git bsdmainutils pkg-config build-essential libcmocka-dev libgeoip-dev libgnutls28-dev libhiredis-dev libjansson-dev libknot-dev liblmdb-dev libluajit-5.1-dev libmemcached-dev libsystemd-dev libuv1-dev luajit doxygen python-breathe python-sphinx dns-root-data lua-sec lua-socket lua-http lua-mmdb cmake python-dnspython
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment