Skip to content

Commit

Permalink
rec build: stop using /sdist/ to cache rust
Browse files Browse the repository at this point in the history
  • Loading branch information
Habbie committed Nov 22, 2024
1 parent 09df974 commit 370b39b
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 370b39b

Please sign in to comment.