Commit c3f7075a authored by Henrik Triem's avatar Henrik Triem
Browse files

Remove support for non existing x86 version of Ubuntu 20.04 LTS

parent 0b6934b4
Pipeline #12335 passed with stage
in 10 minutes and 4 seconds
ifeq ($(VERSIONS),)
VERSIONS := x86_64
endif
VERSIONS_PUSH := $(VERSIONS:=-push)
VERSIONS_CLEAN := $(VERSIONS:=-clean)
all: $(VERSIONS)
push: $(VERSIONS_PUSH)
clean: $(VERSIONS_CLEAN)
$(VERSIONS):
make -C $@
$(VERSIONS_PUSH):
make -C $(@:-push=) push
$(VERSIONS_CLEAN):
make -C $(@:-clean=) clean
.PHONY: all push clean $(VERSIONS) $(VERSIONS_PUSH) $(VERSIONS_CLEAN)
include ../dist.mk
include ../dist_x86_64.mk
FROM i386/ubuntu:focal
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="$(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 \
&& 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
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