Skip to content

Commit 3d76140

Browse files
committed
improve dockerfile.debug
1 parent 3b35bb2 commit 3d76140

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile.debug

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@ FROM fedora:40@sha256:4e007f288dce23966216be81ef62ba05d139b9338f327c1d1c73b7167d
22

33
RUN dnf -y install gcc-c++ git findutils make cmake strace gdb util-linux
44
COPY . /tmp/pcm
5-
RUN --mount=type=cache,target=/tmp/pcm/build cd /tmp/pcm/build && cmake -D CMAKE_BUILD_TYPE=Debug ..
6-
RUN --mount=type=cache,target=/tmp/pcm/build cd /tmp/pcm/build && cmake --build . -t pcm -t pcm-sensor-server -t pcm-tpmi && cp -v /tmp/pcm/build/bin/pcm* /bin/
5+
RUN --mount=type=cache,target=/tmp/pcm/build cd /tmp/pcm/build && cmake -D CMAKE_BUILD_TYPE=Debug .. && cmake --build . -t pcm pcm-sensor-server pcm-tpmi -j && cp -v /tmp/pcm/build/bin/pcm* /bin/
76
#ENV PCM_NO_PERF=1

0 commit comments

Comments
 (0)