Skip to content

Commit a008d0b

Browse files
authored
Drop heaptrack profiler support (#3973)
# Description Since the `tikv-jemalloc` profiler is now used(#3923), the heaptrack support can be removed. This PR basically reverts #2800.
1 parent a7b0ca0 commit a008d0b

File tree

3 files changed

+2
-34
lines changed

3 files changed

+2
-34
lines changed

Dockerfile

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,22 +59,12 @@ ENTRYPOINT [ "solvers" ]
5959
# Extract Binary
6060
FROM intermediate
6161

62-
RUN apt-get update && \
63-
apt-get install -y build-essential cmake git zlib1g-dev libelf-dev libdw-dev libboost-dev libboost-iostreams-dev libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libunwind-dev libzstd-dev git netcat-openbsd
64-
RUN git clone https://invent.kde.org/sdk/heaptrack.git /heaptrack && \
65-
mkdir /heaptrack/build && cd /heaptrack/build && \
66-
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_GUI=OFF .. && \
67-
make -j$(nproc) && \
68-
make install && \
69-
cd / && rm -rf /heaptrack
62+
RUN apt-get update && apt-get install -y netcat-openbsd
7063
COPY --from=cargo-build /alerter /usr/local/bin/alerter
7164
COPY --from=cargo-build /autopilot /usr/local/bin/autopilot
7265
COPY --from=cargo-build /driver /usr/local/bin/driver
7366
COPY --from=cargo-build /orderbook /usr/local/bin/orderbook
7467
COPY --from=cargo-build /refunder /usr/local/bin/refunder
7568
COPY --from=cargo-build /solvers /usr/local/bin/solvers
76-
COPY ./entrypoint.sh /entrypoint.sh
77-
RUN chmod +x /entrypoint.sh
7869

7970
ENTRYPOINT ["/usr/bin/tini", "--"]
80-
CMD ["/entrypoint.sh"]

entrypoint.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

playground/Dockerfile

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -113,22 +113,12 @@ ENTRYPOINT [ "solvers" ]
113113

114114
# Extract Binary
115115
FROM base
116-
RUN apt-get update && \
117-
apt-get install -y build-essential cmake git zlib1g-dev libelf-dev libdw-dev libboost-dev libboost-iostreams-dev libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libunwind-dev libzstd-dev git
118-
RUN git clone https://invent.kde.org/sdk/heaptrack.git /heaptrack && \
119-
mkdir /heaptrack/build && cd /heaptrack/build && \
120-
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_GUI=OFF .. && \
121-
make -j$(nproc) && \
122-
make install && \
123-
cd / && rm -rf /heaptrack
116+
RUN apt-get update && apt-get install -y netcat-openbsd
124117
COPY --from=alerter-build /src/target/release/alerter /usr/local/bin/alerter
125118
COPY --from=autopilot-build /src/target/release/autopilot /usr/local/bin/autopilot
126119
COPY --from=driver-build /src/target/release/driver /usr/local/bin/driver
127120
COPY --from=orderbook-build /src/target/release/orderbook /usr/local/bin/orderbook
128121
COPY --from=refunder-build /src/target/release/refunder /usr/local/bin/refunder
129122
COPY --from=solvers-build /src/target/release/solvers /usr/local/bin/solvers
130-
COPY ./entrypoint.sh /entrypoint.sh
131-
RUN chmod +x /entrypoint.sh
132123

133124
ENTRYPOINT ["/usr/bin/tini", "--"]
134-
CMD ["/entrypoint.sh"]

0 commit comments

Comments
 (0)