Skip to content

Commit

Permalink
A working Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinelliott committed Jul 27, 2023
1 parent 0cd6cfc commit aa99904
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM rust:1.70-bookworm
FROM rust:bookworm AS builder

RUN apt-get update
RUN apt-get install pkg-config libssl-dev -y
RUN apt-get install libsoapysdr-dev python3-soapysdr soapysdr-module-all soapysdr-tools -y
RUN apt-get install -y pkg-config libssl-dev libclang-dev
RUN apt-get install -y libsoapysdr-dev python3-soapysdr soapysdr-module-all soapysdr-tools

WORKDIR /usr/src/app
COPY . .
RUN cargo install --path .

CMD ["xng"]
CMD ["xng", "--version"]

0 comments on commit aa99904

Please sign in to comment.