diff --git a/Dockerfile.mayhem b/Dockerfile.mayhem index 43a6012..387837d 100644 --- a/Dockerfile.mayhem +++ b/Dockerfile.mayhem @@ -8,11 +8,7 @@ WORKDIR /repo RUN qmake RUN make -j8 -RUN mkdir -p /deps -RUN ldd /repo/cpi | tr -s '[:blank:]' '\n' | grep '^/' | xargs -I % sh -c 'cp % /deps;' - FROM ubuntu:20.04 as package - -COPY --from=builder /deps /deps -COPY --from=builder /repo/cpi /repo/cpi -ENV LD_LIBRARY_PATH=/deps +RUN apt-get update +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y qt5-default +COPY --from=builder /repo/cpi / diff --git a/Mayhemfile b/Mayhemfile index 633d292..8cbf7d8 100644 --- a/Mayhemfile +++ b/Mayhemfile @@ -2,4 +2,4 @@ project: cpi target: cpi cmds: - - cmd: /repo/cpi @@ + - cmd: /cpi @@