Commit 0160eaf4 authored by Vlastimil Zima's avatar Vlastimil Zima

Single stage install in docker images

parent 94cd00c1
Pipeline #58663 passed with stages
in 17 minutes and 32 seconds
FROM debian:buster-slim
# Requirements for the APT key
RUN apt-get --yes update \
# Install requirements for the APT key
&& apt-get install --yes --no-install-recommends \
ca-certificates \
gnupg \
wget \
&& rm -rf /var/lib/apt/lists/*
# Add datovka repository
RUN echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/datovka-devel/Debian_10/ /" > /etc/apt/sources.list.d/datovka.list
RUN wget --quiet --output-document=- https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/Debian_10/Release.key | apt-key add -
# Install build requirements
RUN apt-get --yes update \
&& echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/datovka-devel/Debian_10/ /" > /etc/apt/sources.list.d/datovka.list \
&& wget --quiet --output-document=/tmp/Release.key https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/Debian_10/Release.key \
&& apt-key add /tmp/Release.key \
&& apt-get --yes update \
# Install build and testing dependencies
&& apt-get install --yes --no-install-recommends \
autoconf-archive \
automake \
......
FROM debian:jessie-slim
# Requirements for the APT key
RUN apt-get --yes update \
# Install requirements for the APT key
&& apt-get install --yes --no-install-recommends \
ca-certificates \
gnupg \
wget \
&& rm -rf /var/lib/apt/lists/*
# Add datovka repository
RUN echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/datovka-devel/Debian_8.0/ /" > /etc/apt/sources.list.d/datovka.list
RUN wget --quiet --output-document=- https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/Debian_8.0/Release.key | apt-key add -
# Install build requirements
RUN apt-get --yes update \
&& echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/datovka-devel/Debian_8.0/ /" > /etc/apt/sources.list.d/datovka.list \
&& wget --quiet --output-document=/tmp/Release.key https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/Debian_8.0/Release.key \
&& apt-key add /tmp/Release.key \
&& apt-get --yes update \
# Install build and testing dependencies
&& apt-get install --yes --no-install-recommends \
autoconf-archive \
automake \
......
FROM debian:stretch-slim
# Requirements for the APT key
RUN apt-get --yes update \
# Install requirements for the APT key
&& apt-get install --yes --no-install-recommends \
ca-certificates \
gnupg \
wget \
&& rm -rf /var/lib/apt/lists/*
# Add datovka repository
RUN echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/datovka-devel/Debian_9.0/ /" > /etc/apt/sources.list.d/datovka.list
RUN wget --quiet --output-document=- https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/Debian_9.0/Release.key | apt-key add -
# Install build requirements
RUN apt-get --yes update \
&& echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/datovka-devel/Debian_9.0/ /" > /etc/apt/sources.list.d/datovka.list \
&& wget --quiet --output-document=/tmp/Release.key https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/Debian_9.0/Release.key \
&& apt-key add /tmp/Release.key \
&& apt-get --yes update \
# Install build and testing dependencies
&& apt-get install --yes --no-install-recommends \
autoconf-archive \
automake \
......
FROM fedora:30
# Requirements for the config-manager
RUN dnf makecache \
# Install requirements for the config-manager
&& dnf install --assumeyes \
dnf-plugins-core \
&& dnf clean all
# Add datovka repository
RUN dnf config-manager --add-repo https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/Fedora_30/home:CZ-NIC:datovka-devel.repo
# Install build requirements
RUN dnf makecache \
&& dnf config-manager --add-repo https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/Fedora_30/home:CZ-NIC:datovka-devel.repo \
&& dnf makecache \
# Install build and testing dependencies
&& dnf install --assumeyes \
autoconf-archive \
automake \
......
FROM fedora:31
# Requirements for the config-manager
RUN dnf makecache \
# Install requirements for the config-manager
&& dnf install --assumeyes \
dnf-plugins-core \
&& dnf clean all
# Add datovka repository
RUN dnf config-manager --add-repo https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/Fedora_31/home:CZ-NIC:datovka-devel.repo
# Install build requirements
RUN dnf makecache \
&& dnf config-manager --add-repo https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/Fedora_31/home:CZ-NIC:datovka-devel.repo \
&& dnf makecache \
# Install build and testing dependencies
&& dnf install --assumeyes \
autoconf-archive \
automake \
......
FROM ubuntu:bionic
# Requirements for the APT key
RUN apt-get --yes update \
# Install requirements for the APT key
&& apt-get install --yes --no-install-recommends \
ca-certificates \
gnupg \
wget \
&& rm -rf /var/lib/apt/lists/*
# Add datovka repository
RUN echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/datovka-devel/xUbuntu_18.04/ /" > /etc/apt/sources.list.d/datovka.list
RUN wget --quiet --output-document=- https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/xUbuntu_18.04/Release.key | apt-key add -
# Install build requirements
RUN apt-get --yes update \
&& echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/datovka-devel/xUbuntu_18.04/ /" > /etc/apt/sources.list.d/datovka.list \
&& wget --quiet --output-document=/tmp/Release.key https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/xUbuntu_18.04/Release.key \
&& apt-key add /tmp/Release.key \
&& apt-get --yes update \
# Install build and testing dependencies
&& apt-get install --yes --no-install-recommends \
autoconf-archive \
automake \
......
FROM ubuntu:xenial
# Requirements for the APT key
RUN apt-get --yes update \
# Install requirements for the APT key
&& apt-get install --yes --no-install-recommends \
ca-certificates \
gnupg \
wget \
&& rm -rf /var/lib/apt/lists/*
# Add datovka repository
RUN echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/datovka-devel/xUbuntu_16.04/ /" > /etc/apt/sources.list.d/datovka.list
RUN wget --quiet --output-document=- https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/xUbuntu_16.04/Release.key | apt-key add -
# Install build requirements
RUN apt-get --yes update \
&& echo "deb http://download.opensuse.org/repositories/home:/CZ-NIC:/datovka-devel/xUbuntu_16.04/ /" > /etc/apt/sources.list.d/datovka.list \
&& wget --quiet --output-document=/tmp/Release.key https://download.opensuse.org/repositories/home:CZ-NIC:datovka-devel/xUbuntu_16.04/Release.key \
&& apt-key add /tmp/Release.key \
&& apt-get --yes update \
# Install build and testing dependencies
&& apt-get install --yes --no-install-recommends \
autoconf-archive \
automake \
......
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