We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a31e69 commit d260a10Copy full SHA for d260a10
Dockerfile.fm-streamer
@@ -0,0 +1,15 @@
1
+FROM registry.opensuse.org/opensuse/tumbleweed:latest AS build
2
+
3
+RUN mkdir /sysroot && \
4
+ zypper --gpg-auto-import-keys --installroot /sysroot refresh && \
5
+ zypper --non-interactive --installroot /sysroot install -y libusb-1_0-0 glibc libgcc_s1
6
7
+FROM rust:1.90 AS builder
8
+WORKDIR /usr/src/fm-streamer
9
+COPY Cargo.toml Cargo.lock fm-streamer .
10
+RUN cargo install --path .
11
12
+FROM scratch
13
+COPY --from=build /sysroot /
14
+COPY --from=builder /usr/local/cargo/bin/fm-streamer /usr/local/bin/fm-streamer
15
+CMD ["fm-streamer"]
0 commit comments