mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-17 02:12:56 +00:00
Properly print cachepot stats
This commit is contained in:
committed by
Kirill Bulatov
parent
825d363170
commit
a201d33edc
@@ -30,9 +30,9 @@ ENV RUSTC_WRAPPER /usr/local/cargo/bin/cachepot
|
||||
COPY --from=pg-build /pg/tmp_install/include/postgresql/server tmp_install/include/postgresql/server
|
||||
COPY . .
|
||||
|
||||
RUN cargo build --release
|
||||
# Show build caching stats to check if it was used
|
||||
RUN /usr/local/cargo/bin/cachepot -s
|
||||
# Show build caching stats to check if it was used in the end.
|
||||
# Has to be the part of the same RUN since cachepot daemon is killed in the end of this RUN, loosing the compilation stats.
|
||||
RUN cargo build --release && /usr/local/cargo/bin/cachepot -s
|
||||
|
||||
# Build final image
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user