Skip to content

Commit

Permalink
Merge pull request #50 from jontze/chore/fix-docker-build
Browse files Browse the repository at this point in the history
Install cmake in docker image
  • Loading branch information
jontze committed Aug 8, 2022
2 parents 6031740 + 5bfb3e9 commit af750f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ RUN cargo chef prepare --recipe-path recipe.json
FROM lukemathwalker/cargo-chef:latest-rust-1.62 as cacher
WORKDIR /cadency
COPY --from=planner /cadency/recipe.json recipe.json
RUN apt-get update && apt-get install -y cmake
RUN cargo chef cook --release --recipe-path recipe.json


Expand All @@ -20,7 +21,6 @@ FROM debian:bullseye-slim
LABEL org.opencontainers.image.source="https://github.com/jontze/cadency-rs"
WORKDIR /cadency
COPY --from=builder /cadency/target/release/cadency cadency
RUN apt-get update
RUN apt-get install -y libopus-dev ffmpeg youtube-dl
RUN apt-get update && apt-get install -y libopus-dev ffmpeg youtube-dl
ENTRYPOINT [ "./cadency" ]
CMD [ "" ]

0 comments on commit af750f5

Please sign in to comment.