Skip to content

Commit a8e25b3

Browse files
committed
Remove ldd
1 parent 8b1c6cf commit a8e25b3

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

Dockerfile.mayhem

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,5 @@ COPY . /repo
77
WORKDIR /repo/2_integer_codes/code
88
RUN g++ -o compress compress.cpp
99

10-
RUN mkdir -p /deps
11-
RUN ldd /repo/2_integer_codes/code/compress | tr -s '[:blank:]' '\n' | grep '^/' | xargs -I % sh -c 'cp % /deps;'
12-
1310
FROM ubuntu:22.04 as package
14-
15-
COPY --from=builder /deps /deps
16-
COPY --from=builder /repo/2_integer_codes/code/compress /repo/2_integer_codes/code/compress
17-
ENV LD_LIBRARY_PATH=/deps
11+
COPY --from=builder /repo/2_integer_codes/code/compress /

Mayhemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ testsuite:
44
- file://test
55

66
cmds:
7-
- cmd: /repo/2_integer_codes/code/compress gamma @@ /dev/null
7+
- cmd: /compress gamma @@ /dev/null
88
env:
99
DISABLE_SMOKETEST: '1'

0 commit comments

Comments
 (0)