]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Generate the `dist` tarball in `/tmp/dnsdist-meson-dist-build`
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 7 Mar 2025 09:41:19 +0000 (10:41 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 7 Mar 2025 16:25:09 +0000 (17:25 +0100)
builder-support/dockerfiles/Dockerfile.dnsdist

index 1d9f5c1cfe1aa5ce984de5a353a063f5e58ad4ec..4c5f7ac568b75ca4ad2b856603072aac08bcbdda 100644 (file)
@@ -12,7 +12,6 @@ RUN mkdir /sdist
 ARG BUILDER_VERSION
 
 RUN cd /dnsdist/pdns/dnsdistdist && \
-    meson setup build && \
-    meson dist -C build --no-tests
-WORKDIR /dnsdist/pdns/dnsdistdist
-RUN cp build/meson-dist/dnsdist-${BUILDER_VERSION}.tar.xz /sdist/
+    meson setup /tmp/dnsdist-meson-dist-build && \
+    meson dist -C /tmp/dnsdist-meson-dist-build --no-tests
+RUN cp /tmp/dnsdist-meson-dist-build/meson-dist/dnsdist-${BUILDER_VERSION}.tar.xz /sdist/