Skip to content

Commit

Permalink
Merge pull request #14866 from Habbie/no-rust-sdist-export
Browse files Browse the repository at this point in the history
rec build: stop using /sdist/ to cache rust
  • Loading branch information
Habbie authored Nov 22, 2024
2 parents 66ce6b4 + 370b39b commit 6f2b1a4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion builder-support/dockerfiles/Dockerfile.debbuild-prepare
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ADD builder/helpers/ /pdns/builder/helpers/
ADD builder-support/helpers/ /pdns/builder-support/helpers/

@IF [ -n "$M_recursor$M_all" ]
COPY --from=sdist /sdist/rust* /tmp
COPY --from=pdns-recursor /tmp/rust* /tmp
RUN cd /pdns/builder-support/helpers/ && ./install_rust.sh
@ENDIF

Expand Down
1 change: 0 additions & 1 deletion builder-support/dockerfiles/Dockerfile.recursor
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ RUN /pdns-recursor/builder/helpers/set-configure-ac-version.sh && \
./configure --disable-dependency-tracking && \
make dist
RUN cp pdns-recursor-${BUILDER_VERSION}.tar.bz2 /sdist/
RUN cp /tmp/rust* /sdist/
2 changes: 1 addition & 1 deletion builder-support/dockerfiles/Dockerfile.rpmbuild
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ADD builder/helpers/ /pdns/builder/helpers/
ADD builder-support/helpers/ /pdns/builder-support/helpers/

@IF [ -n "$M_recursor$M_all" ]
COPY --from=sdist /sdist/rust* /tmp
COPY --from=pdns-recursor /tmp/rust* /tmp
RUN cd /pdns/builder-support/helpers/ && ./install_rust.sh
@ENDIF

Expand Down

0 comments on commit 6f2b1a4

Please sign in to comment.