Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Adrian Schollmeyer
admindb-ci-docker2
Commits
c9d582a7
Verified
Commit
c9d582a7
authored
Apr 17, 2022
by
Adrian Schollmeyer
Browse files
kea-dev: Fix build
parent
3c0bd139
Pipeline
#2479
failed with stage
in 13 minutes and 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile.kea-dev
View file @
c9d582a7
...
...
@@ -6,7 +6,7 @@ FROM debian:stable
ARG KEA_VERSION=2.0.2
ARG KEA_DEBIAN_REV=1
RUN apt-get
clean && apt-get update --allow-unauthenticated
RUN apt-get
update
RUN apt-get install -y \
build-essential \
...
...
@@ -17,23 +17,7 @@ RUN apt-get install -y \
libxmlrpc-c++8-dev \
pkg-config \
libboost-system-dev \
bison \
debhelper-compat \
default-libmysqlclient-dev \
dh-python \
docbook \
docbook-xsl \
elinks \
flex \
libboost-dev \
liblog4cplus-dev \
libpq-dev \
libssl-dev \
postgresql-server-dev-all \
python3-dev \
python3-sphinx \
python3-sphinx-rtd-theme \
xsltproc \
devscripts \
wget
RUN wget \
...
...
@@ -43,17 +27,22 @@ RUN wget \
http://deb.debian.org/debian/pool/main/i/isc-kea/isc-kea_${KEA_VERSION}-${KEA_DEBIAN_REV}.debian.tar.xz \
&& dpkg-source -x isc-kea_${KEA_VERSION}-${KEA_DEBIAN_REV}.dsc
RUN cd isc-kea-${KEA_VERSION} \
&& mk-build-deps -i -r -t "apt-get -y -o Debug::pkgProblemResolver=yes --no-install-recommends" \
&& rm -f *.deb *.changes *.buildinfo
RUN cd isc-kea-${KEA_VERSION} \
&& sed -i 's/--without-werror/--without-werror --enable-generate-messages/g' debian/rules \
&& echo "usr/bin/kea-msg-compiler" >> debian/kea-common.install \
&& dpkg-buildpackage -B \
&& cd .. \
&& dpkg -i *.deb
&& dpkg-buildpackage -F
RUN apt-get clean \
RUN ls -l && dpkg -i *.deb
RUN apt-get autoremove --purge devscripts \
&& apt-get clean \
&& rm -r *.deb \
&& rm -r isc-kea* \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf isc-kea_${KEA_VERSION}
WORKDIR /work
# vim: noexpandtab ts=8 sw=8 ft=dockerfile
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment