File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,12 +34,10 @@ COPY build-aux/ build-aux/
3434COPY m4/ m4/
3535COPY ext/ ext/
3636COPY .git/ .git/
37- ADD configure.ac Makefile.am .
37+ COPY configure.ac Makefile.am .
3838COPY builder/helpers/set-configure-ac-version.sh /usr/local/bin
3939
40- ARG MAKEFLAGS="-j2"
4140ARG DOCKER_FAKE_RELEASE="NO"
42-
4341RUN if [ "${DOCKER_FAKE_RELEASE}" = "YES" ]; then \
4442 BUILDER_VERSION="$(IS_RELEASE=YES BUILDER_MODULES=authoritative ./builder-support/gen-version | sed 's/\([0-9]\+\.[0-9]\+\.[0-9]\+\(\(alpha|beta|rc\)\d\+\)\)?.*/\1/')" set-configure-ac-version.sh;\
4543 fi && \
@@ -48,6 +46,7 @@ RUN if [ "${DOCKER_FAKE_RELEASE}" = "YES" ]; then \
4846# Lua install merged with build because Make seems to need the Lua installation name
4947# TODO: simplify repeated -C calls with SUBDIRS?
5048ARG NO_LUA_JIT="s390x arm64"
49+ ARG MAKEFLAGS="-j2"
5150RUN LUAVER=$([ -z "${NO_LUA_JIT##*$(dpkg --print-architecture)*}" ] && echo 'lua5.3' || echo 'luajit') && \
5251 apt-get install -y --no-install-recommends lib${LUAVER}-*dev && \
5352 apt-get clean && rm -rf /var/lib/apt/lists/* && \
Original file line number Diff line number Diff line change @@ -29,18 +29,14 @@ RUN mk-build-deps -i -t 'apt-get -o Debug::pkgProblemResolver=yes -y --no-instal
2929 apt-get clean
3030
3131WORKDIR /source/builder-support/helpers/
32- RUN ./install_rust.sh && \
33- ./install_quiche.sh
32+ RUN ./install_rust.sh && ./install_quiche.sh
3433
3534WORKDIR /source
3635COPY meson/ meson/
3736COPY pdns/ pdns/
3837COPY ext/ ext/
3938COPY .git/ .git/
4039
41- ARG MAKEFLAGS="-j2"
42- ARG DOCKER_FAKE_RELEASE="NO"
43-
4440# build and install (TODO: before we hit this line, rearrange /source structure if we are coming from a tarball)
4541WORKDIR /source/pdns/dnsdistdist
4642
@@ -53,6 +49,8 @@ RUN LUAVER=$([ -z "${NO_LUA_JIT##*$(dpkg --print-architecture)*}" ] && echo 'lua
5349 apt-get install -y --no-install-recommends lib${LUAVER}-*dev && \
5450 apt-get clean && rm -rf /var/lib/apt/lists/*
5551
52+ ARG DOCKER_FAKE_RELEASE="NO"
53+ ARG MAKEFLAGS="-j2"
5654RUN mkdir /build && \
5755 BUILDDIR=$(mktemp -d) && \
5856 IS_RELEASE="${DOCKER_FAKE_RELEASE}" \
Original file line number Diff line number Diff line change @@ -43,9 +43,6 @@ COPY pdns/ pdns/
4343COPY ext/ ext/
4444COPY .git/ .git/
4545
46- ARG MAKEFLAGS="-j2"
47- ARG DOCKER_FAKE_RELEASE="NO"
48-
4946# build and install (TODO: before we hit this line, rearrange /source structure if we are coming from a tarball)
5047WORKDIR /source/pdns/recursordist
5148
@@ -58,6 +55,8 @@ RUN LUAVER=$([ -z "${NO_LUA_JIT##*$(dpkg --print-architecture)*}" ] && echo 'lua
5855 apt-get install -y --no-install-recommends lib${LUAVER}-*dev && \
5956 apt-get clean && rm -rf /var/lib/apt/lists/*
6057
58+ ARG DOCKER_FAKE_RELEASE="NO"
59+ ARG MAKEFLAGS="-j2"
6160RUN mkdir /build && \
6261 BUILDDIR=$(mktemp -d) && \
6362 IS_RELEASE="${DOCKER_FAKE_RELEASE}" \
You can’t perform that action at this time.
0 commit comments