Skip to content
Snippets Groups Projects
Commit 8dea0d4e authored by Henrik Triem's avatar Henrik Triem
Browse files

Add kinetic for building redis

parent 339e9cd1
No related branches found
No related tags found
No related merge requests found
Pipeline #28249 passed
......@@ -18,17 +18,5 @@ before_script:
- make -C ${CI_JOB_NAME}
- '[ "$CI_COMMIT_REF_NAME" != master ] || make -C ${CI_JOB_NAME} push'
jammy:
<<: *build_job
impish:
<<: *build_job
hirsute:
<<: *build_job
focal:
<<: *build_job
bionic:
kinetic:
<<: *build_job
TARGETS := bionic focal hirsute impish jammy
TARGETS := kinetic
TARGETS_PUSH := $(TARGETS:=-push)
TARGETS_CLEAN := $(TARGETS:=-clean)
......
include ../dist_x86_64.mk
FROM ubuntu:kinetic
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 liblua5.1-0-dev lintian ccache pbuilder aptitude apt-utils
RUN curl https://packages.icinga.com/icinga.key | apt-key add - \
&& DIST="$(lsb_release -sc)" \
&& 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
RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
RUN icinga-provide-go
RUN git config --global --add safe.directory '*'
USER build
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