Skip to content
Snippets Groups Projects
Commit 0d1b8fd7 authored by Noah Hilverling's avatar Noah Hilverling
Browse files

Merge branch 'feature/xenial' into 'master'

Drop xenial

See merge request !6
parents 9f8b8298 abad79ac
No related branches found
No related tags found
1 merge request!6Drop xenial
Pipeline #18329 passed
......@@ -32,6 +32,3 @@ disco:
bionic:
<<: *build_job
xenial:
<<: *build_job
TARGETS := xenial bionic disco focal hirsute
TARGETS := bionic disco focal hirsute
TARGETS_PUSH := $(TARGETS:=-push)
TARGETS_CLEAN := $(TARGETS:=-clean)
......
include ../dist.mk
FROM i386/ubuntu:xenial
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y eatmydata \
&& eatmydata apt-get upgrade -y
RUN eatmydata apt-get install -y \
sudo wget curl tar expect git \
devscripts build-essential lintian ccache pbuilder aptitude apt-utils
RUN curl https://packages.icinga.com/icinga.key | apt-key add - \
&& DIST=$(awk -F= '/VERSION_CODENAME=/ {print $2}' /etc/os-release) \
&& echo "deb http://packages.icinga.com/ubuntu icinga-${DIST} main" > /etc/apt/sources.list.d/${DIST}-icinga.list
RUN groupadd -g 1000 build \
&& useradd -u 1000 -g 1000 -m build \
&& echo 'Defaults:build !requiretty' | tee -a /etc/sudoers \
&& echo 'build ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers \
&& chown build.build /usr/local/bin
USER build
RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
ENTRYPOINT ["/usr/local/bin/icinga-build-entrypoint"]
CMD ["icinga-build-package"]
include ../../image.mk
FROM ubuntu:xenial
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y eatmydata \
&& eatmydata apt-get upgrade -y
RUN eatmydata apt-get install -y \
sudo wget curl tar expect git \
devscripts build-essential lintian ccache pbuilder aptitude apt-utils
RUN curl https://packages.icinga.com/icinga.key | apt-key add - \
&& DIST=$(awk -F= '/VERSION_CODENAME=/ {print $2}' /etc/os-release) \
&& echo "deb http://packages.icinga.com/ubuntu icinga-${DIST} main" > /etc/apt/sources.list.d/${DIST}-icinga.list
RUN groupadd -g 1000 build \
&& useradd -u 1000 -g 1000 -m build \
&& echo 'Defaults:build !requiretty' | tee -a /etc/sudoers \
&& echo 'build ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers \
&& chown build.build /usr/local/bin
USER build
RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
ENTRYPOINT ["/usr/local/bin/icinga-build-entrypoint"]
CMD ["icinga-build-package"]
include ../../image.mk
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment