diff --git a/Dockerfile.mayhem b/Dockerfile.mayhem index ae842412..7f0b6f21 100644 --- a/Dockerfile.mayhem +++ b/Dockerfile.mayhem @@ -8,11 +8,7 @@ WORKDIR /repo/build RUN cmake .. RUN make -j8 -RUN mkdir -p /deps -RUN ldd /repo/build/tinyrenderer | tr -s '[:blank:]' '\n' | grep '^/' | xargs -I % sh -c 'cp % /deps;' - FROM ubuntu:22.04 as package - -COPY --from=builder /deps /deps -COPY --from=builder /repo/build/tinyrenderer /repo/build/tinyrenderer -ENV LD_LIBRARY_PATH=/deps +RUN apt-get update +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y libgomp1 +COPY --from=builder /repo/build/tinyrenderer / diff --git a/Mayhemfile b/Mayhemfile index e012bdf8..e08d39bb 100644 --- a/Mayhemfile +++ b/Mayhemfile @@ -2,5 +2,4 @@ project: tinyrenderer target: tinyrenderer cmds: - - cmd: /repo/build/tinyrenderer /test.obj - filepath: /test.obj + - cmd: /tinyrenderer @@